#pragma once

#include <openssl/tls1.h>
#include <openssl/ssl2.h>
#include <openssl/ssl3.h>

namespace NSsl {
    enum class EProtocolVersion {
        NoCipher = 0 /* "no_cipher" */,
        SslV2 = SSL2_VERSION /* "ssl2" */,
        SslV3 = SSL3_VERSION /* "ssl3" */,
        TlsV1_0 = TLS1_VERSION /* "tls1_0" */,
        TlsV1_1 = TLS1_1_VERSION /* "tls1_1" */,
        TlsV1_2 = TLS1_2_VERSION /* "tls1_2" */,
        TlsV1_3 = TLS1_3_VERSION /* "tls1_3" */
    };
}
