---
name: "ne_ssl_proto_name"
section: "3"
platform: "linux"
package: "neon"
version: "0.37.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ne_ssl_proto_name"
---

# ne\_ssl\_proto\_name(3)

SSL/TLS protocol version to name mapping

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

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.

## HISTORY

**ne\_ssl\_proto\_name** is available in neon 0.34.0 and later.

## SEE ALSO

[**ne\_ssl\_set\_protovers**(3)](/ne_ssl_set_protovers/3.md)

## COPYRIGHT

Copyright © 2001-2026 Joe Orton\
