Verify that the private key configured on an SSL_CTX matches its certificate.
Declared in <openssl/ssl.h>
<openssl/ssl.h>
int SSL_CTX_check_private_key(SSL_CTX const* ctx);
1 if the key matches the certificate (or neither is set), or 0 on mismatch/error.