diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-04-05 00:13:06 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-04-05 00:51:23 +0200 |
commit | 173f613b6a9029f34454b642ee4f3db6c6566fcb (patch) | |
tree | 5d180d177d02c73fa9def58c73d613220733b1f8 /apps/req.c | |
parent | set exec attribute for .pl files (diff) | |
download | openssl-173f613b6a9029f34454b642ee4f3db6c6566fcb.tar.xz openssl-173f613b6a9029f34454b642ee4f3db6c6566fcb.zip |
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>
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/req.c b/apps/req.c index 561cccc98f..b6a545fa38 100644 --- a/apps/req.c +++ b/apps/req.c @@ -739,15 +739,15 @@ int req_main(int argc, char **argv) } if (verify && !x509) { - EVP_PKEY *pubkey = pkey; + EVP_PKEY *tpubkey = pkey; - if (pubkey == NULL) { - pubkey = X509_REQ_get0_pubkey(req); - if (pubkey == NULL) + if (tpubkey == NULL) { + tpubkey = X509_REQ_get0_pubkey(req); + if (tpubkey == NULL) goto end; } - i = X509_REQ_verify(req, pubkey); + i = X509_REQ_verify(req, tpubkey); if (i < 0) { goto end; |