Guardtime KSI c SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros
openssl_compatibility.h File Reference

Go to the source code of this file.

Macros

#define KSI_EVP_MD_CTX_create()   EVP_MD_CTX_create()
 
#define KSI_EVP_MD_CTX_destroy(md)   EVP_MD_CTX_destroy((md))
 
#define KSI_EVP_MD_CTX_cleanup(md)   EVP_MD_CTX_cleanup((md))
 

Macro Definition Documentation

#define KSI_EVP_MD_CTX_cleanup (   md)    EVP_MD_CTX_cleanup((md))
#define KSI_EVP_MD_CTX_create ( )    EVP_MD_CTX_create()

These macros are needed to support both OpenSSL 1.0 and 1.1.

"If you think good design is expensive, you should look at the cost of bad design." -— Ralf Speth

#define KSI_EVP_MD_CTX_destroy (   md)    EVP_MD_CTX_destroy((md))