diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:54:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:54:32 +0000 |
commit | ab42b8cfd86a186447528e538ec0ae94751cfc1d (patch) | |
tree | 4fa03c118292ab8801a30fc83e53a1958426b54c /runtime/net_ossl.h | |
parent | Adding upstream version 8.2404.0. (diff) | |
download | rsyslog-ab42b8cfd86a186447528e538ec0ae94751cfc1d.tar.xz rsyslog-ab42b8cfd86a186447528e538ec0ae94751cfc1d.zip |
Adding upstream version 8.2406.0.upstream/8.2406.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'runtime/net_ossl.h')
-rw-r--r-- | runtime/net_ossl.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <openssl/engine.h> #include <openssl/rand.h> +#include <openssl/evp.h> /* 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 */ |