NE_SSL_SET_PROTOVERS(3)
π NAME π
ne_ssl_set_protovers β the neon API reference function that sets your sessionβs SSL/TLS minimum or maximum protocol version, bestie. Itβs giving βI control the vibes of this handshakeβ β¨ (manual page NE_SSL_SET_PROTOVERS(3), iykyk).
β¨ SYNOPSIS β¨
#include <ne_session.h>
int ne_ssl_set_protovers(ne_session *sess, enum ne_ssl_protocol min,
enum ne_ssl_protocol max);
π DESCRIPTION π
Okay so ne_ssl_set_protovers is literally the function that sets the minimum and/or maximum SSL/TLS version for the session. Either the minimum and/or the maximum may be specified as NE_SSL_PROTO_UNSPEC, and in that case no limit is imposed. No cap, just vibes π.
π«Ά RETURN VALUE π«Ά
ne_ssl_set_protovers returns zero on success or non-zero on error π. The errors include:
- an invalid range (minimum above maximum),
- the protocol version not being supported by the SSL/TLS toolkit in use,
- or SSL/TLS not being in use for the session.
πΈ HISTORY πΈ
ne_ssl_set_protovers is available in neon 0.34.0 and later. Periodt. π
π¦ SEE ALSO π¦
π COPYRIGHT π
Copyright Β© 2001-2026 Joe Orton
okay bye bestie! source/version: neon; date: 03/20/2026; page: NE_SSL_SET_PROTOVERS(3) β slay and stay secure πβ¨
π¦ where this page comes from
- arch rolling: neon 0.37.1-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms