]> git.kaiwu.me - nginx.git/commit
SSL: passwords support for dynamic certificate loading.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 25 Feb 2019 13:42:23 +0000 (16:42 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 25 Feb 2019 13:42:23 +0000 (16:42 +0300)
commit8772a0e0892e632c37f3b92b1d287ed9b473cb13
tree7f5c5a9db242028cee1f99abafe261c6bcc79a31
parent6e5a731edb6c1b8581c4b6fd2a2bf4ec0e768c24
SSL: passwords support for dynamic certificate loading.

Passwords have to be copied to the configuration pool to be used
at runtime.  Also, to prevent blocking on stdin (with "daemon off;")
an empty password list is provided.

To make things simpler, password handling was modified to allow
an empty array (with 0 elements and elts set to NULL) as an equivalent
of an array with 1 empty password.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/http/modules/ngx_http_ssl_module.c
src/http/ngx_http_request.c