summaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-11-23 21:40:10 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-11-23 21:40:10 +0000
commit3fee255102299bb1341ddc7ddd8cf62bf746f359 (patch)
treee833ef4be090fcbe483774ff78725ebae8f81464 /apps/pkcs12.c
parent16df5f066a19d0f2275ba8a9d5459d2b56ba085f (diff)
Typo.
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r--apps/pkcs12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index e08d75b265..c92f713f5c 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -621,7 +621,7 @@ int MAIN(int argc, char **argv)
CRYPTO_push_info("verify MAC");
#endif
/* If we enter empty password try no password first */
- if(!macpass[0] && PKCS12_verify_mac(p12, NULL, 0)) {
+ if(!mpass[0] && PKCS12_verify_mac(p12, NULL, 0)) {
/* If mac and crypto pass the same set it to NULL too */
if(!twopass) cpass = NULL;
} else if (!PKCS12_verify_mac(p12, mpass, -1)) {