tor  master
Macros
compat_openssl.h File Reference

compatibility definitions for working with different openssl forks More...

#include <openssl/opensslv.h>
#include "crypto_openssl_mgt.h"
Include dependency graph for compat_openssl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OPENSSL_VERSION   SSLEAY_VERSION
 
#define OpenSSL_version(v)   SSLeay_version(v)
 
#define OpenSSL_version_num()   SSLeay()
 
#define RAND_OpenSSL()   RAND_SSLeay()
 
#define STATE_IS_SW_SERVER_HELLO(st)
 
#define OSSL_HANDSHAKE_STATE   int
 
#define CONST_IF_OPENSSL_1_1_API
 

Detailed Description

compatibility definitions for working with different openssl forks

Macro Definition Documentation

◆ STATE_IS_SW_SERVER_HELLO

#define STATE_IS_SW_SERVER_HELLO (   st)
Value:
(((st) == SSL3_ST_SW_SRVR_HELLO_A) || \
((st) == SSL3_ST_SW_SRVR_HELLO_B))