SSL_SET_VERIFY_RESULT(3ossl)
πΈ NAME πΈ
Okay bestie π«Ά, welcome to the SSL_SET_VERIFY_RESULT(3ossl) page from OpenSSL β the manual page for SSL_set_verify_result β and it's literally about one thing: override result of peer certificate verification. Periodt. β¨
π οΈ SYNOPSIS π οΈ
#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. That's the whole entire assignment, and it ate π
.
π NOTES π
Big note energy, bestie π§: 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. The valid codes for verify_result are documented in openssl-verify(1). No cap.
π«Ά RETURN VALUES π«Ά
SSL_set_verify_result() does not provide a return value. It literally gives you nothing back β not even a little guy π.
π SEE ALSO π
These are the linked lore drops, go read them π.
π COPYRIGHT π
Copyright 2000-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 β slay and goodbye, bestie π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms