summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-12-02 07:56:51 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-12-02 07:56:51 -0600
commit8d56016ae475f90b3a5745cfcaa604089e1db659 (patch)
tree08cb0cd0ad5de0a76a8f057295a1563ae407a361 /include
parent28b76ed66701cf28467e7a91e1451428402814c4 (diff)
parent8e77d6f52039e3ba20374c8a0083ad73bcce9e98 (diff)
Merge "tcptls: Use new certificate upon sip reload" into 13
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/tcptls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/tcptls.h b/include/asterisk/tcptls.h
index 3c5f4504c..d19ec529a 100644
--- a/include/asterisk/tcptls.h
+++ b/include/asterisk/tcptls.h
@@ -107,6 +107,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
@@ -151,6 +154,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;