SSL_CTX_HAS_...NT_CUSTOM_EXT(3ossl)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 15.1

πŸ’… SSL_CTX_has_client_custom_ext β€” the 3ossl girlies' edition πŸŽ€

okay so bestie, you found the 3ossl manual page and it's honestly a little cutie. short, sweet, does exactly one thing. let's get into it ✨


🌸 NAME 🌸

SSL_CTX_has_client_custom_ext β€” the little vibe-check function that tells you whether a handler exists for a particular client extension type. that's it. that's the whole job. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <openssl/ssl.h>

int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx, unsigned int ext_type);

look at her. two params, one int. main character energy fr fr πŸ‘‘


πŸ’œ DESCRIPTION πŸ’œ

so SSL_CTX_has_client_custom_ext() is literally here to check whether a handler has been set for a client extension of type ext_type using SSL_CTX_add_client_custom_ext(). that's the whole plot 🫢

like β€” you added the handler with that other function, and now you're just confirming she's actually there. a little "did you actually press send" of the TLS world, iykyk 😭


⭐ RETURN VALUES ⭐

  • returns 1 if a handler has been set πŸ’–
  • returns 0 otherwise πŸ™ˆ

no in-between, no maybe, no "it's complicated". binary queen behavior, periodt. πŸ’…


🧚 SEE ALSO 🧚

go read those too, bestie, they're the lore 🌈


Copyright 2016 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>.


ngl the license part is not the fun part, but you gotta respect it β€” "except in compliance with the License" is not a suggestion, it's a requirement. 🫑

that's the whole page, babes πŸŽ€ no cap, that was genuinely it. go forth and check your custom extension handlers with confidence. πŸ’–βœ¨πŸ¦‹

β€” signed off from 3ossl, version 3.5.6, dated 2026-04-0. mwah πŸ’‹

πŸ“¦ where this page comes from