mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 22:50:17 +02:00
#2197: fix style
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
||||
PROTO_TLSV1_2 = 0x10
|
||||
};
|
||||
|
||||
struct Params
|
||||
struct NetSSL_API Params
|
||||
{
|
||||
Params();
|
||||
/// Initializes the struct with default values.
|
||||
|
@@ -511,7 +511,7 @@ void Context::initDH(const std::string& dhParamsFile)
|
||||
std::string msg = Utility::getLastError();
|
||||
throw SSLContextException("Error creating Diffie-Hellman parameters", msg);
|
||||
}
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
BIGNUM* p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), 0);
|
||||
BIGNUM* g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), 0);
|
||||
DH_set0_pqg(dh, p, 0, g);
|
||||
|
Reference in New Issue
Block a user