mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
openssl/compat.hpp: remove functions already defined in OpenSSL
Contrary to what OpenSSL doc for 1.0.2 says:
https://www.openssl.org/docs/man1.0.2/man3/EVP_CIPHER_CTX_type.html
those functions have been defined since year 2005 (0.9.8b):
b40228a61d
Signed-off-by: Lev Stipakov <lev@openvpn.net>
This commit is contained in:
parent
0833eb1f76
commit
febb24e7d9
@ -92,16 +92,6 @@ inline void HMAC_CTX_free(HMAC_CTX *ctx)
|
||||
delete ctx;
|
||||
}
|
||||
|
||||
inline EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void)
|
||||
{
|
||||
return new EVP_CIPHER_CTX();
|
||||
}
|
||||
|
||||
inline void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx)
|
||||
{
|
||||
delete ctx;
|
||||
}
|
||||
|
||||
inline EVP_MD_CTX *EVP_MD_CTX_new()
|
||||
{
|
||||
return new EVP_MD_CTX();
|
||||
|
Loading…
Reference in New Issue
Block a user