SSL_CTX_HAS_...NT_CUSTOM_EXT(3ossl)

✨ SSL_CTX_has_client_custom_ext πŸ’…

okay bestie, welcome to the 3ossl girlies β€” this is an OpenSSL manual page and honestly? it's a short one. a lil baby page. a snack. and you're gonna understand it in like twelve seconds. let's go πŸŽ€


NAME πŸ¦‹

SSL_CTX_has_client_custom_ext β€” check whether a handler exists for a particular client extension type

that's it. that's the whole job. it's a vibe check for extension handlers. no cap. ✨


SYNOPSIS 🌸

#include <openssl/ssl.h>

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

look at her. two args. returns an int. she's lowkey perfect. πŸ‘‘


DESCRIPTION πŸ’–

so, SSL_CTX_has_client_custom_ext() literally just checks whether a handler has been set for a client extension of type ext_type using SSL_CTX_add_client_custom_ext().

like. that's the whole thing. you hand it a context and an extension type, and it tells you if somebody already registered a handler for that type. it's giving "did anyone sign up for this?" energy. πŸ™ˆ

it does NOT add a handler. it does NOT remove one. it does NOT call one. it just looks. pure observation. main character behavior honestly. πŸ¦‹


RETURN VALUES ⭐

  • Returns 1 if a handler has been set ✨
  • Returns 0 otherwise πŸ’€

binary queen. she said "yes or no and I will not be elaborating." periodt. πŸ’…


SEE ALSO πŸ”₯

go read those too bestie, iykyk. 🫢


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

ok so fr fr: this is legally binding stuff, not a vibe suggestion. read the License. don't be the girl who skips the License. πŸŽ€

and that's the whole page, bestie!! 🧚 this was OpenSSL version 3.5.9, dated 2026-09-2, and the manual name is 3ossl β€” tysm for reading, mwah, go register a custom extension handler responsibly πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from