table of contents
NE_SSL_PROTO_NAME(3) | neon API reference | NE_SSL_PROTO_NAME(3) |
NAME¶
ne_ssl_proto_name - SSL/TLS protocol version to name mapping
SYNOPSIS¶
#include <ne_ssl.h>
const char *ne_ssl_proto_name(enum ne_ssl_protocol proto);
DESCRIPTION¶
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
NE_SSL_PROTO_SSL3
NE_SSL_PROTO_TLS_1_0
NE_SSL_PROTO_TLS_1_1
NE_SSL_PROTO_TLS_1_2
NE_SSL_PROTO_TLS_1_3
RETURN VALUE¶
The ne_ssl_proto_name function always returns a non-NULL string even if the version constant is not valid.
HISTORY¶
ne_ssl_proto_name is available in neon 0.34.0 and later.
SEE ALSO¶
ne_ssl_set_protovers
COPYRIGHT¶
Copyright © 2001-2024 Joe Orton
15 April 2025 | neon 0.34.2 |