mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-01 04:04:39 +00:00
Fix a shadow symbol warning
... comes from c5137473bdc7. Fix Travis builds. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
3e3957816c
commit
173f613b6a
10
apps/req.c
10
apps/req.c
@ -739,15 +739,15 @@ int req_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (verify && !x509) {
|
if (verify && !x509) {
|
||||||
EVP_PKEY *pubkey = pkey;
|
EVP_PKEY *tpubkey = pkey;
|
||||||
|
|
||||||
if (pubkey == NULL) {
|
if (tpubkey == NULL) {
|
||||||
pubkey = X509_REQ_get0_pubkey(req);
|
tpubkey = X509_REQ_get0_pubkey(req);
|
||||||
if (pubkey == NULL)
|
if (tpubkey == NULL)
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
i = X509_REQ_verify(req, pubkey);
|
i = X509_REQ_verify(req, tpubkey);
|
||||||
|
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
goto end;
|
goto end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user