SSL_SET_VERIFY_RESULT(3ossl)

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

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