diff options
author | Mouse <mouse008@gmail.com> | 2017-10-10 14:02:56 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-10-16 14:46:53 -0400 |
commit | e680311770bd480ab6b4e17562c160855178e5ab (patch) | |
tree | baebc2c6938dea851b969b5e6d6a804a0e568dd9 /crypto/pkcs7 | |
parent | beb30941d6b2d663144d74dc3846d5d49c127454 (diff) |
Code hygiene; initialize some pointers.
CLA: trivial
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4515)
Diffstat (limited to 'crypto/pkcs7')
-rw-r--r-- | crypto/pkcs7/pk7_doit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/pk7_doit.c b/crypto/pkcs7/pk7_doit.c index 0ff9e9364e..9883a4f02c 100644 --- a/crypto/pkcs7/pk7_doit.c +++ b/crypto/pkcs7/pk7_doit.c @@ -813,7 +813,7 @@ int PKCS7_dataFinal(PKCS7 *p7, BIO *bio) int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si) { EVP_MD_CTX *mctx; - EVP_PKEY_CTX *pctx; + EVP_PKEY_CTX *pctx = NULL; unsigned char *abuf = NULL; int alen; size_t siglen; |