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