gnutls_anon_set_server_dh_params(3)

πŸ’– NAME πŸ’–

gnutls_anon_set_server_dh_params β€” bestie, it's an API function 🫢 (from the gnutls manual, if you were wondering)


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

void gnutls_anon_set_server_dh_params(gnutls_anon_server_credentials_t
res, gnutls_dh_params_t dh_params);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_anon_server_credentials_t res β€” okay so this one is a gnutls_anon_server_credentials_t type, that's the vibe πŸ’…
  • gnutls_dh_params_t dh_params β€” and this is the Diffie-Hellman parameters, no cap.

🌸 DESCRIPTION 🌸

So like, this function sets the Diffie-Hellman parameters that an anonymous server is gonna use. These parameters get used in the Anonymous Diffie-Hellman cipher suites, periodt. ✨


πŸ’€ DEPRECATED πŸ’€

Not me having to tell you this but… this function is unnecessary and discouraged on GnuTLS 3.6.0 or later. Since 3.6.0, DH parameters are negotiated following RFC7919. So like, lowkey you don't need it anymore bestie 😭

πŸ› REPORTING BUGS πŸ›

Found a bug? Don't just scream into the group chat, report it to <bugs@gnutls.org>. 🫢

Home page: https://www.gnutls.org


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, that's genuinely so generous of them πŸ’œ


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


That's the whole page bestie, iykyk πŸ’… stay iconic out there β€” this was gnutls version 3.8.13, mwah πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from