summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream_ssl_module.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-05-19 14:46:32 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-05-19 14:46:32 +0300
commitcf126b98b30847a453c6f62e0717867cb05098b0 (patch)
treeab1a1cfab94f5bcfa40bcebf9643610f45fb8004 /src/stream/ngx_stream_ssl_module.h
parent798999b63d57a578a1fe68b61e97731e8ff0ec56 (diff)
downloadnginx-cf126b98b30847a453c6f62e0717867cb05098b0.tar.gz
nginx-cf126b98b30847a453c6f62e0717867cb05098b0.tar.bz2
SSL: support for multiple certificates (ticket #814).
Diffstat (limited to 'src/stream/ngx_stream_ssl_module.h')
-rw-r--r--src/stream/ngx_stream_ssl_module.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stream/ngx_stream_ssl_module.h b/src/stream/ngx_stream_ssl_module.h
index 85e8b6ede..9b1c41a13 100644
--- a/src/stream/ngx_stream_ssl_module.h
+++ b/src/stream/ngx_stream_ssl_module.h
@@ -27,8 +27,9 @@ typedef struct {
time_t session_timeout;
- ngx_str_t certificate;
- ngx_str_t certificate_key;
+ ngx_array_t *certificates;
+ ngx_array_t *certificate_keys;
+
ngx_str_t dhparam;
ngx_str_t ecdh_curve;