version 1.19, 2022/04/28 15:29:10 |
version 1.20, 2022/04/28 15:42:10 |
|
|
if (!pkcs12_config.twopass) |
if (!pkcs12_config.twopass) |
strlcpy(macpass, pass, sizeof macpass); |
strlcpy(macpass, pass, sizeof macpass); |
|
|
if ((pkcs12_config.options & INFO) && p12->mac != NULL) |
if ((pkcs12_config.options & INFO) != 0 && p12->mac != NULL) |
BIO_printf(bio_err, "MAC Iteration %ld\n", |
BIO_printf(bio_err, "MAC Iteration %ld\n", |
p12->mac->iter ? ASN1_INTEGER_get(p12->mac->iter) : 1); |
p12->mac->iter ? ASN1_INTEGER_get(p12->mac->iter) : 1); |
if (pkcs12_config.macver) { |
if (pkcs12_config.macver) { |
|
|
{ |
{ |
if (str == NULL) |
if (str == NULL) |
return 0; |
return 0; |
if (!strcmp(str, "NONE")) { |
if (strcmp(str, "NONE") == 0) { |
*ppbe = -1; |
*ppbe = -1; |
return 1; |
return 1; |
} |
} |