mirror of
https://github.com/nginx/nginx.git
synced 2026-09-02 11:30:50 +00:00
SSL: removed redundant "pkey" variable.
It was accidentally introduced in 77436d9951a1 (1.15.9). In MSVC 2015 and more recent MSVC versions it triggers warning C4456 (declaration of 'pkey' hides previous local declaration). Previously, all such warnings were resolved in 2a621245f4cf. Reported by Steve Stevenson.
This commit is contained in:
parent
0ad4393e30
commit
762d98abed
1 changed files with 2 additions and 3 deletions
|
|
@ -701,9 +701,8 @@ ngx_ssl_load_certificate_key(ngx_pool_t *pool, char **err,
|
|||
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
|
||||
u_char *p, *last;
|
||||
ENGINE *engine;
|
||||
EVP_PKEY *pkey;
|
||||
u_char *p, *last;
|
||||
ENGINE *engine;
|
||||
|
||||
p = key->data + sizeof("engine:") - 1;
|
||||
last = (u_char *) ngx_strchr(p, ':');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue