SSL_SET_VERIFY_RESULT(3)
β¨ NAME β¨
SSL_set_verify_result β override the result of peer certificate verification π
This page is chillinβ in the Library Functions Manual, bestie β welcome to the SSL_SET_VERIFY_RESULT(3) zone π«Ά
πΈ SYNOPSIS πΈ
library βlibsslβ libcrypto #include <openssl/ssl.h>
void
SSL_set_verify_result(SSL *ssl, long verify_result);
π DESCRIPTION π
Okay so SSL_set_verify_result() sets verify_result of the object ssl to be the result of the verification of the X509 certificate presented by the peer, if any. Like, itβs literally assigning the vibe check result for that cert π
SSL_set_verify_result() overrides the verification result. It only changes the verification result of the ssl object. It does not become part of the established session, so if the session is to be reused later, the original value will reappear. No cap β this override is not permanent, itβs giving temporary main-character energy only π
Bestie, remember: this only touches the ssl objectβs verification result. It does not get baked into the established session. Reuse the session later and the original value comes back β periodt π
The valid codes for verify_result are documented in openssl(1).
π SEE ALSO π
π¦ HISTORY π¦
SSL_set_verify_result() first appeared in SSLeay 0.6.1 and has been available since OpenBSD 2.4. iconic behavior, honestly π
xoxo, this page is from Debian, dated June 8, 2025 β SSL_SET_VERIFY_RESULT(3) signing off π
π
π¦ 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 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