Possibly-uninit variable in pem_lib.c.
Can't really happen, but the flow of control isn't obvious. Add an initializer. (Imported from upstream's fa2ae04c40510262d198131c758acd8aa5a9b4ce) Change-Id: If393687bca9f505b825feffaf2a63895a0ea5b6a
This commit is contained in:
parent
e1cf3f1579
commit
08d6fe2fdb
@ -390,7 +390,7 @@ err:
|
||||
int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen,
|
||||
pem_password_cb *callback,void *u)
|
||||
{
|
||||
int i,j,o,klen;
|
||||
int i=0,j,o,klen;
|
||||
long len;
|
||||
EVP_CIPHER_CTX ctx;
|
||||
unsigned char key[EVP_MAX_KEY_LENGTH];
|
||||
|
Loading…
Reference in New Issue
Block a user