Add conditional unit testing interface.
[openssl.git] / ssl / ssl.h
index d44a9d5e97b12859bd9e109d9ea4e5499731db7a..0a5e621554f3e146f774671dfa06e2a043282a78 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -2570,6 +2570,10 @@ int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx))(SSL *s, SSL_CTX *ctx, i
 void SSL_CTX_set0_security_ex_data(SSL_CTX *ctx, void *ex);
 void *SSL_CTX_get0_security_ex_data(const SSL_CTX *ctx);
 
+#ifndef OPENSSL_NO_UNIT_TEST
+const struct openssl_ssl_test_functions *SSL_test_functions(void);
+#endif
+
 /* BEGIN ERROR CODES */
 /* The following lines are auto generated by the script mkerr.pl. Any changes
  * made after this point may be overwritten when the script is next run.