SSL_GET_EXTMS_SUPPORT(3ossl)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 15.1

🌸 NAME 🌸

okay so bestie, welcome to the SSL_GET_EXTMS_SUPPORT(3ossl) page β€” it’s an OpenSSL manual page, and the function in question is SSL_get_extms_support, aka your little check-in for extended master secret support πŸ’…

✨ SYNOPSIS ✨

#include <openssl/ssl.h>

int SSL_get_extms_support(SSL *ssl);

πŸ¦‹ DESCRIPTION πŸ¦‹

SSL_get_extms_support() tells you whether the current session used extended master secret. That’s literally the whole vibe check πŸ”₯

And plot twist: this function is implemented as a macro. yes bestie, macro behavior, we love a tiny implementation detail πŸŽ€

πŸ’– RETURN VALUES πŸ’–

SSL_get_extms_support() gives you one of these three iconic little numbers:

  • 1 β€” the current session used extended master secret βœ…
  • 0 β€” it did not πŸ™ˆ
  • -1 β€” a handshake is currently in progress, i.e. it is not possible to determine if extended master secret was used 😭
so if you get -1, don’t panic, bestie β€” the handshake just isn’t done yet, and the answer is not possible to determine.

🌈 SEE ALSO 🌈

  • ssl(7) β€” go check it out, 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>.


mwah πŸ’‹ this page is from OpenSSL 3.5.6, dated 2026-04-07 β€” and that’s the cute little sign-off, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from