summaryrefslogtreecommitdiff
path: root/src/src/functions.h
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-05-20 21:25:10 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-05-20 21:25:10 +0100
commite51c7be22dfccad376659a1a46cee93c9979bbf7 (patch)
tree3a6facf5bd5b51f1b3e21c62736ae04bc7504099 /src/src/functions.h
parent2e6afa4f11972312d3dbb9bb1d4f4bf585a3cdd2 (diff)
Support optional server certificate name checking. Bug 1479
Enable EXPERIMENTAL_CERTNAMES to include.
Diffstat (limited to 'src/src/functions.h')
-rw-r--r--src/src/functions.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/src/functions.h b/src/src/functions.h
index 741b632a9..a6257a913 100644
--- a/src/src/functions.h
+++ b/src/src/functions.h
@@ -59,10 +59,13 @@ extern int tls_ungetc(int);
extern int tls_write(BOOL, const uschar *, size_t);
extern uschar *tls_validate_require_cipher(void);
extern void tls_version_report(FILE *);
-#ifndef USE_GNUTLS
+# ifndef USE_GNUTLS
extern BOOL tls_openssl_options_parse(uschar *, long *);
-#endif
+# endif
extern uschar * tls_field_from_dn(uschar *, uschar *);
+# ifdef EXPERIMENTAL_CERTNAMES
+extern BOOL tls_is_name_for_cert(uschar *, void *);
+# endif
#endif /*SUPPORT_TLS*/