mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
This commit is contained in:
parent
0ebc3242d9
commit
cb1857407b
@ -1347,7 +1347,7 @@ ngx_ssl_dhparam(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *file)
|
|||||||
|
|
||||||
if (SSL_CTX_set0_tmp_dh_pkey(ssl->ctx, dh) != 1) {
|
if (SSL_CTX_set0_tmp_dh_pkey(ssl->ctx, dh) != 1) {
|
||||||
ngx_ssl_error(NGX_LOG_EMERG, ssl->log, 0,
|
ngx_ssl_error(NGX_LOG_EMERG, ssl->log, 0,
|
||||||
"SSL_CTX_set0_tmp_dh_pkey(\%s\") failed", file->data);
|
"SSL_CTX_set0_tmp_dh_pkey(\"%s\") failed", file->data);
|
||||||
#if (OPENSSL_VERSION_NUMBER >= 0x3000001fL)
|
#if (OPENSSL_VERSION_NUMBER >= 0x3000001fL)
|
||||||
EVP_PKEY_free(dh);
|
EVP_PKEY_free(dh);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user