ne_ssl_proto_name3
Ssl/tls protocol version to name mapping
Usage
#include <ne_ssl.h>
const char *ne_ssl_proto_name(enum ne_ssl_protocol proto);
Overview
The ne_ssl_proto_name function returns a human-readable name for a SSL/TLS version constant. The set of versions currently are as follows:
NE_SSL_PROTO_UNSPEC
unspecified/unknown version
NE_SSL_PROTO_SSL3
SSL v3
NE_SSL_PROTO_TLS_1_0
TLS v1.0
NE_SSL_PROTO_TLS_1_1
TLS v1.1
NE_SSL_PROTO_TLS_1_2
TLS v1.2
NE_SSL_PROTO_TLS_1_3
TLS v1.3
Return value
The ne_ssl_proto_name function always returns a non-NULL string even if the version constant is not valid.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.