SSL_CTX_HAS_...NT_CUSTOM_EXT(3ossl)

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

πŸ’… SSL_CTX_HAS_CLIENT_CUSTOM_EXT β€” okay bestie, let's talk 3ossl ✨

So this one's from the OpenSSL fam, manual section 3ossl, and honestly? It's a tiny little icon. One function, one job, no drama. Let's get into it 🫢


✨ NAME ✨

SSL_CTX_has_client_custom_ext β€” lowkey just checks whether a handler exists for a particular client extension type πŸ‘€


πŸŽ€ SYNOPSIS πŸŽ€

#include <openssl/ssl.h>

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so SSL_CTX_has_client_custom_ext() is literally the vibe check πŸ’… It checks whether a handler has been set for a client extension of type ext_type using SSL_CTX_add_client_custom_ext().

That's it. That's the whole function. It's giving "am I registered or not" and nothing else. Not me being obsessed with a one-line description 😭


🌸 RETURN VALUES 🌸

  • Returns 1 if a handler has been set πŸŽ‰
  • Returns 0 otherwise πŸ™ˆ

Binary queen. No grey area. Periodt.


πŸ‘‘ SEE ALSO πŸ‘‘

Go read those if you want the full lore, 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>.

Fr fr read the license before you go copying things, bestie β€” it's not optional energy 🌈

And that's the whole page, slay πŸ’– Written up in version 3.5.0, dated 2026-09-2, and babe I hope this helped because you are genuinely going to crush this 🧚✨

πŸ“¦ where this page comes from