summaryrefslogtreecommitdiff
path: root/lib/x509/pkcs7-crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/pkcs7-crypt.c')
-rw-r--r--lib/x509/pkcs7-crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/pkcs7-crypt.c b/lib/x509/pkcs7-crypt.c
index b5f6bb1612..0e23f6b73a 100644
--- a/lib/x509/pkcs7-crypt.c
+++ b/lib/x509/pkcs7-crypt.c
@@ -1013,7 +1013,7 @@ _gnutls_pkcs_raw_decrypt_data(schema_id schema, ASN1_TYPE pkcs8_asn,
if (_password) {
gnutls_datum_t pout;
- ret = _gnutls_utf8_password_normalize(_password, strlen(_password), &pout);
+ ret = _gnutls_utf8_password_normalize(_password, strlen(_password), &pout, 1);
if (ret < 0)
return gnutls_assert_val(ret);
@@ -1345,7 +1345,7 @@ _gnutls_pkcs_generate_key(schema_id schema,
if (_password) {
gnutls_datum_t pout;
- ret = _gnutls_utf8_password_normalize(_password, strlen(_password), &pout);
+ ret = _gnutls_utf8_password_normalize(_password, strlen(_password), &pout, 0);
if (ret < 0)
return gnutls_assert_val(ret);