SSL_CTX_GET_VERIFY_MODE(3)
πΈ NAME πΈ
okay so this is SSL_CTX_GET_VERIFY_MODE(3), from the Library Functions Manual, and it's the bestie friend group of getters for the verification parameters that are currently set: SSL_CTX_get_verify_mode, SSL_get_verify_mode, SSL_CTX_get_verify_depth, SSL_get_verify_depth, SSL_get_verify_callback, and SSL_CTX_get_verify_callback. They literally just read the current verification vibes. π
β¨ SYNOPSIS β¨
The synopsis line is giving:
library βlibsslβ libcrypto #include <openssl/ssl.h>
and then the function signatures are:
int
SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
int
SSL_get_verify_mode(const SSL *ssl);
int
SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
int
SSL_get_verify_depth(const SSL *ssl);
int
(*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,
X509_STORE_CTX *);
int
(*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);
π¦ DESCRIPTION π¦
okay so every single one of these is a little peek at what's already set. No changing, no surprises, just reading the current settings. Getter main character energy, honestly.
SSL_CTX_get_verify_mode()β returns the verification mode currently set inctx. That's it, that's the whole vibe. β¨SSL_get_verify_mode()β returns the verification mode currently set inssl. Same energy, different object. πSSL_CTX_get_verify_depth()β returns the verification depth limit currently set inctx. If no limit has been explicitly set,β1is returned and the default value will be used. Not me getting a sentinel value and pretending it's a depth π.SSL_get_verify_depth()β returns the verification depth limit currently set inssl. If no limit has been explicitly set,β1is returned and the default value will be used. fr fr.SSL_CTX_get_verify_callback()β returns a function pointer to the verification callback currently set inctx. If no callback was explicitly set, theNULLpointer is returned and the default callback will be used. π«ΆSSL_get_verify_callback()β returns a function pointer to the verification callback currently set inssl. If no callback was explicitly set, theNULLpointer is returned and the default callback will be used. iconic. π
π SEE ALSO π
π HISTORY π
okay history lesson, bestie. SSL_CTX_get_verify_mode(), SSL_get_verify_mode(), SSL_get_verify_callback(), and SSL_CTX_get_verify_callback() first appeared in SSLeay 0.8.0 and have been available since OpenBSD 2.4. π±
Then SSL_CTX_get_verify_depth() and SSL_get_verify_depth() first appeared in OpenSSL 0.9.3 and have been available since OpenBSD 2.6. legacy icons, honestly. π
This page is from Debian, dated June 8, 2025 β bye bestie, go read your verification params π
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2000, 2005 The OpenSSL Project. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms