mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-23 23:49:26 +01:00
fix compilation without deprecated OpenSSL APIs (#3690)
Missing headers and function. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
1d28d2d42d
commit
a93be3ed1c
@ -14,6 +14,9 @@
|
||||
|
||||
#include "Poco/Crypto/Envelope.h"
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
#define EVP_CIPHER_CTX_init(a) 1
|
||||
#endif
|
||||
|
||||
namespace Poco {
|
||||
namespace Crypto {
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include "Poco/Format.h"
|
||||
#include "Poco/Error.h"
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dh.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/x509v3.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user