summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaciej Szmigiero <mail@maciej.szmigiero.name>2015-05-15 00:12:41 +0200
committerMichael Kuron <m.kuron@gmx.de>2016-11-15 20:56:43 +0100
commit7b96e8cc3d3db3d30921905203520b4e08b527b8 (patch)
tree346586fd945b5b2e8a1329225ed67ad49d0ebc93 /include
parenta58d3597019f8cc5a503f140671232ae3f8d9119 (diff)
Add X.509 subject alternative name support to TLS certificate
verification. This way one X.509 certificate can be used for hosts that can be reached under multiple DNS names or for multiple hosts. Signed-off-by: Maciej Szmigiero <mail@maciej.szmigiero.name> ASTERISK-25063 #close Change-Id: I13302c80490a0b44c43f1b45376c9bd7b15a538f
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/tcptls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/tcptls.h b/include/asterisk/tcptls.h
index e1a632cca..3c5f4504c 100644
--- a/include/asterisk/tcptls.h
+++ b/include/asterisk/tcptls.h
@@ -65,6 +65,7 @@
#ifdef DO_SSL
#include <openssl/ssl.h>
#include <openssl/err.h>
+#include <openssl/x509v3.h>
#else
/* declare dummy types so we can define a pointer to them */
typedef struct {} SSL;