From 371920392fe2deba74cfec8d471667f10d7028ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 5 Aug 2024 11:54:33 +0200 Subject: Merging upstream version 8.2406.0. Signed-off-by: Daniel Baumann --- runtime/net_ossl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime/net_ossl.h') diff --git a/runtime/net_ossl.h b/runtime/net_ossl.h index eef69dd..af36ffe 100644 --- a/runtime/net_ossl.h +++ b/runtime/net_ossl.h @@ -33,6 +33,7 @@ #endif #include #include +#include /* Internal OpenSSL defined ENUMS */ typedef enum { @@ -83,12 +84,15 @@ BEGINinterface(net_ossl) /* name must also be changed in ENDinterface macro! */ #if OPENSSL_VERSION_NUMBER >= 0x10100000L rsRetVal (*osslCtxInitCookie)(net_ossl_t *pThis); #endif // OPENSSL_VERSION_NUMBER >= 0x10100000L + rsRetVal (*osslInitEngine)(net_ossl_t *pThis); // OpenSSL Helper function exports rsRetVal (*osslChkpeername)(net_ossl_t *pThis, X509* certpeer, uchar *fromHostIP); rsRetVal (*osslPeerfingerprint)(net_ossl_t *pThis, X509* certpeer, uchar *fromHostIP); X509* (*osslGetpeercert)(net_ossl_t *pThis, SSL *ssl, uchar *fromHostIP); rsRetVal (*osslChkpeercertvalidity)(net_ossl_t *pThis, SSL *ssl, uchar *fromHostIP); +#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) rsRetVal (*osslApplyTlscgfcmd)(net_ossl_t *pThis, uchar *tlscfgcmd); +#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L void (*osslSetBioCallback)(BIO *conn); void (*osslSetCtxVerifyCallback)(SSL_CTX *pCtx, int flags); void (*osslSetSslVerifyCallback)(SSL *pSsl, int flags); @@ -142,7 +146,6 @@ int opensslh_THREAD_cleanup(void); void osslGlblInit(void); void osslGlblExit(void); - /*-----------------------------------------------------------------------------*/ /* prototypes */ -- cgit v1.2.3