diff options
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/tcptls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/tcptls.h b/include/asterisk/tcptls.h index e1a632cca..8a18a8fe7 100644 --- a/include/asterisk/tcptls.h +++ b/include/asterisk/tcptls.h @@ -106,6 +106,9 @@ struct ast_tls_config { char *capath; struct ast_flags flags; SSL_CTX *ssl_ctx; + char certhash[41]; + char pvthash[41]; + char cahash[41]; }; /*! \page AstTlsOverview TLS Implementation Overview @@ -150,6 +153,7 @@ struct ast_tcptls_session_args { void (*periodic_fn)(void *);/*!< something we may want to run before after select on the accept socket */ void *(*worker_fn)(void *); /*!< the function in charge of doing the actual work */ const char *name; + struct ast_tls_config *old_tls_cfg; /*!< copy of the SSL configuration to determine whether changes have been made */ }; struct ast_tcptls_stream; |