mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-05 09:08:04 -05:00
Ensure variable is initialized.
It seem unnecessarily risky to leave it uninitialized when PKCS7_free is called on it unconditionally at the end of the function.
This commit is contained in:
parent
12966f611a
commit
0bea1ac8f6
@ -2329,7 +2329,7 @@ static char *getpassword(const char *prompt)
|
||||
int main(int argc, char **argv) {
|
||||
BIO *btmp, *sigbio, *hash, *outdata;
|
||||
PKCS12 *p12;
|
||||
PKCS7 *p7 = NULL, *cursig = NULL, *outsig = NULL, *sig, *p7x = NULL;
|
||||
PKCS7 *p7 = NULL, *cursig = NULL, *outsig = NULL, *sig = NULL, *p7x = NULL;
|
||||
X509 *cert = NULL;
|
||||
STACK_OF(X509) *certs = NULL, *xcerts = NULL;
|
||||
EVP_PKEY *pkey = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user