mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
pem: fix coverity 1474426: uninitialised scalar variable.
Based on the value, it would with work properly or produce an error. Most likely seems to have been the former. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14638)
This commit is contained in:
parent
a669418c8e
commit
711d7ca594
@ -323,7 +323,7 @@ EVP_PKEY *ossl_b2i_bio(BIO *in, int *ispub)
|
||||
const unsigned char *p;
|
||||
unsigned char hdr_buf[16], *buf = NULL;
|
||||
unsigned int bitlen, magic, length;
|
||||
int isdss;
|
||||
int isdss = -1;
|
||||
void *key = NULL;
|
||||
EVP_PKEY *pkey = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user