SSL_GET1_BUILTIN_SIGALGS(3ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ’… SSL_GET1_BUILTIN_SIGALGS πŸ’…

okay bestie, so this is the 3ossl manual page for SSL_get1_builtin_sigalgs β€” yes that's a whole mouthful, we're gonna get through it together, i promise 🫢


✨ NAME ✨

SSL_get1_builtin_sigalgs β€” get the list of built-in signature algorithms. that's it, that's the whole vibe 🌸


πŸŽ€ SYNOPSIS πŸŽ€

like, literally just this:

#include <openssl/tls1.h>

char *SSL_get1_builtin_sigalgs(OSSL_LIB_CTX *libctx);

two lines. iconic. no notes. πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

okay so what this does: it returns the colon-separated list of built-in and available TLS signature algorithms. the whole squad, in one string, separated by : πŸ¦‹

and listen β€” the string it returns? that's yours now. you gotta free it yourself with OPENSSL_free(3). no take-backs, no "the library will handle it", you are the main character responsible for that memory. free it. periodt. πŸ’…


⭐ NOTES ⭐

ngl, the string may be empty (like, strlen==0 empty, not a single character to its name 😭) if none of the built-in TLS signature algorithms can actually be activated. when does that happen? for example when the suitable providers are missing. so like, no providers, no sigalgs, no string content. vibe check failed, but the call still works πŸ’€


πŸ”₯ RETURN VALUES πŸ”₯

  • NULL β€” may be returned if no memory could be allocated. sad, but possible πŸ™ˆ
  • otherwise β€” a newly allocated string is always returned πŸŽ‰ but bestie, lowkey important: it may have strlen == 0. always allocated, not always full of content. both things are true x

🌈 HISTORY 🌈

this function was added in OpenSSL 3.4. new-ish, but it's been around long enough to be that girl ✨


Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved. 🫢

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>. πŸ’œ


okay and that's the whole page, bestie!! you understood it, i'm so proud πŸ₯Ή

this little cutie is from OpenSSL 3.5.0, dated 2026-09-25, and it's the SSL_GET1_BUILTIN_SIGALGS(3ossl) page β€” go free your strings and slay the day πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from