SSL_GET_EXTMS_SUPPORT(3ossl)

✨ SSL_get_extms_support πŸ’–

okay bestie, so this one is a lil OpenSSL page β€” it lives in the 3ossl manual fam β€” and it's about asking your TLS session one very specific question: did you use extended master secret or not? πŸ‘‘


🌸 NAME 🌸

SSL_get_extms_support β€” extended master secret support, literally just that 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <openssl/ssl.h>

int SSL_get_extms_support(SSL *ssl);

✨ DESCRIPTION ✨

so SSL_get_extms_support() is the lil detective πŸ” β€” it tells you whether the current session used extended master secret.

and here's the fun part: this function isn't even a real function, it's implemented as a macro. it's giving "I'm technically a macro but I show up to work like a function" πŸ’… iconic behaviour honestly.


πŸ’œ RETURN VALUES πŸ’œ

SSL_get_extms_support() hands you one of three vibes:

  • 1 β€” slay, the current session did use extended master secret βœ…
  • 0 β€” nope, it did not πŸ™ˆ
  • -1 β€” a handshake is currently in progress, so like… it is genuinely not possible to determine if extended master secret was used. main character hasn't finished their scene yet, don't ask 😭

🌈 SEE ALSO 🌈

  • ssl(7) β€” go read the big one, iykyk πŸ“š

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


okay and that's the whole page bestie, no cap, every crumb of it πŸ’– this was OpenSSL 3.5.9, dated 2026-09-29, and yes the page header said SSL_GET_EXTMS_SUPPORT(3ossl) the whole time β€” anyway ily, go check your master secret, periodt πŸ¦‹βœ¨πŸ’…

πŸ“¦ where this page comes from