summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-12-02 07:15:07 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-12-02 07:15:08 -0600
commitcd5d9d1d693dd45900a34d88ec9c8b1dfa54bc31 (patch)
tree3b0b8f9030122e74691d777faf49dbf9258da7d1 /include/asterisk
parent197e4083950721861f4377ffb1d4a798a0fcbc0e (diff)
parent635b0a0a550a191727e4162a453560903e76b233 (diff)
Merge "tcptls: Use new certificate upon sip reload"
Diffstat (limited to 'include/asterisk')
-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 883cb9229..1e3a7524b 100644
--- a/include/asterisk/tcptls.h
+++ b/include/asterisk/tcptls.h
@@ -94,6 +94,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
@@ -138,6 +141,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 */
};
/*! \brief