diff options
author | Richard Levitte <levitte@openssl.org> | 2000-09-17 18:21:27 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-09-17 18:21:27 +0000 |
commit | 62324627aa3309e4f72e3ff0241801f4286fa242 (patch) | |
tree | bcc120d30197a60057eabeee2f438b214d0df73a /crypto/pkcs12/p12_npas.c | |
parent | 623eea376a7bff6d50c88407c10f279e6f838de4 (diff) |
Use sk_*_new_null() instead of sk_*_new(NULL), since that takes care
of complaints from the compiler about data pointers and function
pointers not being compatible with each other.
Diffstat (limited to 'crypto/pkcs12/p12_npas.c')
-rw-r--r-- | crypto/pkcs12/p12_npas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs12/p12_npas.c b/crypto/pkcs12/p12_npas.c index eed494a3f3..84e31a7f21 100644 --- a/crypto/pkcs12/p12_npas.c +++ b/crypto/pkcs12/p12_npas.c @@ -114,7 +114,7 @@ static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass) unsigned int maclen; if (!(asafes = M_PKCS12_unpack_authsafes(p12))) return 0; - if(!(newsafes = sk_PKCS7_new(NULL))) return 0; + if(!(newsafes = sk_PKCS7_new_null())) return 0; for (i = 0; i < sk_PKCS7_num (asafes); i++) { p7 = sk_PKCS7_value(asafes, i); bagnid = OBJ_obj2nid(p7->type); |