reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
OpenSSLDeleter.cxx
Go to the documentation of this file.
1#if defined(HAVE_CONFIG_H)
2 #include "config.h"
3#endif
4
5#ifdef USE_SSL
6
8
9#include <openssl/evp.h>
10
11namespace resip
12{
13
14void OpenSSLDeleter::operator()(EVP_CIPHER_CTX* ctx) const noexcept
15{
16 EVP_CIPHER_CTX_free(ctx);
17}
18
19void OpenSSLDeleter::operator()(EVP_MD_CTX* ctx) const noexcept
20{
21 EVP_MD_CTX_free(ctx);
22}
23
24} // namespace resip
25
26#endif
dcm! – add UnusedChecking(_enum) below;
void operator()(EVP_CIPHER_CTX *ctx) const noexcept