SSL_CTX_HAS_...NT_CUSTOM_EXT(3ossl)
π 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
1if a handler has been set π - returns
0otherwise π
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 π
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
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms