include openssl/provider.h for openssl 3.x only
Signed-off-by: Double Sine <xiao_ai_yu@live.cn>
This commit is contained in:
parent
47c84363b5
commit
f1df7feead
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/rand.h>
|
||||
#if (OPENSSL_VERSION_NUMBER & 0xf0000000) == 0x30000000 // for openssl 3.x.x
|
||||
#include <openssl/provider.h>
|
||||
#else
|
||||
#error "navicat_serial_generator.cpp: Unexpected OpenSSL version."
|
||||
#endif
|
||||
|
||||
#include "resource_wrapper.hpp"
|
||||
#include "resource_traits/openssl/evp_cipher_ctx.hpp"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user