GNUTLS_SESSION_ENABLE_COMPATIBILITY_MODE(3)
π gnutls_session_enable_compatibility_mode(3) β the gnutls manual, but make it make sense
okay bestie, sit down, we're reading a gnutls man page together and honestly? this one is giving "I'm about to make your TLS slightly less safe on purpose" π
. It lives in the gnutls manual section 3, and the whole vibe is "maximum compatibility, minimum vibes".
β¨ NAME β¨
gnutls_session_enable_compatibility_mode β an API function, and yeah, the name is a mouthful, we move anyway π«Ά
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void gnutls_session_enable_compatibility_mode(gnutls_session_t session);
not me showing you the include first because that's just how it's done, iykyk β¨
π ARGUMENTS π
gnutls_session_t sessionβ bestie it's agnutls_session_ttype. that's it, that's the arg, she's simple and she knows what she wants π
π DESCRIPTION π
so this function? it lets you disable certain (security) features in TLS so you can keep maximum compatibility with clients that are, respectfully, buggy. π
and because you're literally trading away security here β several trade-offs get enabled at once β the function will report them through the audit subsystem if they're required. so it's not sneaky, it's justβ¦ a lot. π
normally only servers that need maximum compatibility with literally everything out there need to call this function. if that's not you, walk away, queen. π
β οΈ note that this function must be called after any call to gnutls_priority functions. order matters, no cap.
β SINCE β
2.1.4 β old money, been here since forever π
π¦ REPORTING BUGS π¦
found something cursed? tell the devs, they wanna know:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (slay, actually β no royalties, just respect the notice π«Ά)
π SEE ALSO π
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
and that's the whole page, bestie!! this was gnutls version 3.8.13 of gnutls_session_enable_compatibility_mode(3), brought to you by the fine folks at gnutls π stay compatible, stay safe, and remember: call it after your priority functions, periodt β¨π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms