logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ne_ssl_proto_name - SSL/TLS protocol version to name mapping

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
           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

History

ne_ssl_proto_name is available in neon 0.34.0 and later.

Name

       ne_ssl_proto_name - SSL/TLS protocol version to name mapping

Return Value

       The ne_ssl_proto_name function always returns a non-NULL string even if the version constant is not
       valid.

See Also

       ne_ssl_set_protovers

Synopsis

#include<ne_ssl.h>constchar*ne_ssl_proto_name(enumne_ssl_protocolproto);

See Also