comparison src/event/ngx_event_openssl.h @ 7960:ec2798eb3648 stable-1.20

SSL: RSA data type is deprecated in OpenSSL 3.0. The only consumer is a callback function for SSL_CTX_set_tmp_rsa_callback() deprecated in OpenSSL 1.1.0. Now the function is conditionally compiled too.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 10 Aug 2021 23:42:59 +0300
parents ae70fcb8ac93
children 8ebda26e4f98
comparison
equal deleted inserted replaced
7959:efbcecbe5805 7960:ec2798eb3648
194 ngx_resolver_t *resolver, ngx_msec_t resolver_timeout); 194 ngx_resolver_t *resolver, ngx_msec_t resolver_timeout);
195 ngx_int_t ngx_ssl_ocsp_validate(ngx_connection_t *c); 195 ngx_int_t ngx_ssl_ocsp_validate(ngx_connection_t *c);
196 ngx_int_t ngx_ssl_ocsp_get_status(ngx_connection_t *c, const char **s); 196 ngx_int_t ngx_ssl_ocsp_get_status(ngx_connection_t *c, const char **s);
197 void ngx_ssl_ocsp_cleanup(ngx_connection_t *c); 197 void ngx_ssl_ocsp_cleanup(ngx_connection_t *c);
198 ngx_int_t ngx_ssl_ocsp_cache_init(ngx_shm_zone_t *shm_zone, void *data); 198 ngx_int_t ngx_ssl_ocsp_cache_init(ngx_shm_zone_t *shm_zone, void *data);
199 #if (OPENSSL_VERSION_NUMBER < 0x10100001L && !defined LIBRESSL_VERSION_NUMBER)
199 RSA *ngx_ssl_rsa512_key_callback(ngx_ssl_conn_t *ssl_conn, int is_export, 200 RSA *ngx_ssl_rsa512_key_callback(ngx_ssl_conn_t *ssl_conn, int is_export,
200 int key_length); 201 int key_length);
202 #endif
201 ngx_array_t *ngx_ssl_read_password_file(ngx_conf_t *cf, ngx_str_t *file); 203 ngx_array_t *ngx_ssl_read_password_file(ngx_conf_t *cf, ngx_str_t *file);
202 ngx_array_t *ngx_ssl_preserve_passwords(ngx_conf_t *cf, 204 ngx_array_t *ngx_ssl_preserve_passwords(ngx_conf_t *cf,
203 ngx_array_t *passwords); 205 ngx_array_t *passwords);
204 ngx_int_t ngx_ssl_dhparam(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *file); 206 ngx_int_t ngx_ssl_dhparam(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *file);
205 ngx_int_t ngx_ssl_ecdh_curve(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *name); 207 ngx_int_t ngx_ssl_ecdh_curve(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *name);