Merge in the main trunk, a few conflicts resolved.
This commit is contained in:
parent
0e61cfff53
commit
42cc160301
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ int PKCS12_parse (PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
|
|||
|
||||
/* Allocate stack for ca certificates if needed */
|
||||
if ((ca != NULL) && (*ca == NULL)) {
|
||||
if (!(*ca = sk_X509_new(NULL))) {
|
||||
if (!(*ca = sk_X509_new_null())) {
|
||||
PKCS12err(PKCS12_F_PKCS12_PARSE,ERR_R_MALLOC_FAILURE);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue