We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46bb470 commit bd767a3Copy full SHA for bd767a3
src/misc/pbes/pbes1.c
@@ -31,7 +31,7 @@ static int _pkcs_12_wrap(const unsigned char *password, unsigned long password_l
31
if (*outlen < 32) return CRYPT_INVALID_ARG;
32
pw = XMALLOC(pwlen + 2);
33
if (pw == NULL) return CRYPT_MEM;
34
- if ((err = pkcs12_utf8_to_utf16(password, password_len, pw, &pwlen) != CRYPT_OK)) goto LBL_ERROR;
+ if ((err = pkcs12_utf8_to_utf16(password, password_len, pw, &pwlen)) != CRYPT_OK) goto LBL_ERROR;
35
pw[pwlen++] = 0;
36
37
/* derive KEY */
0 commit comments