aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/openssl/holders/evp.h
blob: 8cda0c9a910ed29e45a9d0c5626517ed65576634 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "holder.h"

#include <openssl/evp.h>

namespace NOpenSSL {
    class TEvpCipherCtx : public THolder<EVP_CIPHER_CTX, EVP_CIPHER_CTX_new, EVP_CIPHER_CTX_free> {
    };

    class TEvpMdCtx : public THolder<EVP_MD_CTX, EVP_MD_CTX_new, EVP_MD_CTX_free> {
    };
}