SSL_GET_EXTMS_SUPPORT(3ossl)
π SSL_GET_EXTMS_SUPPORT β extended master secret support π
okay so bestie, this is SSL_get_extms_support, and it's one of those tiny OpenSSL man pages from the 3ossl fam that does exactly one thing but does it so well. no notes. π«Ά
πΈ SYNOPSIS πΈ
like, the whole vibe right here:
#include <openssl/ssl.h>
int SSL_get_extms_support(SSL *ssl);
that's it. that's the function. iconic behavior honestly. β¨
π¦ DESCRIPTION π¦
okay so SSL_get_extms_support() tells you whether the current session used extended master secret. that's the whole tea. β no cap.
lowkey important detail tho: this function is implemented as a macro. so it's not a "real" function you can take a pointer to or whatever β it's a macro, periodt. π
π RETURN VALUES π
the return value check is literally the main character here, so pay attention bestie π
1β yes bestie, the current session used extended master secret. slay. π0β nope, it did not. π-1β a handshake is currently in progress, which means it's not possible to determine if extended master secret was used. like, the vibe check isn't finished yet π give it a sec.
fr fr, that -1 is not an error in the "something broke" sense β it's just "handshake still happening, ask me later." π
π§ SEE ALSO π§
ssl(7)β go read the big one, iykyk π¦
π COPYRIGHT π
Copyright 2015-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>. π₯
and that's the whole page, bestie! this version is from 3.5.0, dated 2026-09-25, and it lives in the SSL_GET_EXTMS_SUPPORT(3ossl) manual. go off, extms queen π
πβ
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms