SSL_check_private_key(3) — Subroutines
NAME
SSL_check_private_key − Checks the private key against the public key of the certificate in the SSL structure
SYNOPSIS
#include <openssl/ssl.h>
int SSL_check_private_key(
SSL ∗ssl );
DESCRIPTION
The SSL_check_private_key() function checks if the private key matches against the public key of the certificate loaded in the SSL structure.
RETURN VALUES
The following return values can occur:
1The private key matches against the public key in the SSL structure.
0The verification of the private key failed.
NOTES
This API does not implement the functionality of checking DH keys.
SEE ALSO
TBA