31 #ifndef __SWITCH_SSL_H 32 #define __SWITCH_SSL_H 34 #if defined(HAVE_OPENSSL) 35 #if defined (MACOSX) || defined(DARWIN) 37 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 39 #include <openssl/crypto.h> 40 #include <openssl/pem.h> 41 #include <openssl/rand.h> 42 #include <openssl/conf.h> 43 #include <openssl/x509v3.h> 44 #ifndef OPENSSL_NO_ENGINE 45 #include <openssl/engine.h> 47 #include <openssl/ssl.h> 48 #include <openssl/err.h> 49 #include <openssl/bio.h> void switch_ssl_init_ssl_locks(void)
static int switch_core_cert_extract_fingerprint(void *x509, dtls_fingerprint_t *fp)
void switch_ssl_destroy_ssl_locks(void)