[#SSL_CTX_check_private_key] = SSL_CTX_check_private_key :mrdocs: Verify that the private key configured on an SSL_CTX matches its certificate. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_check_private_key(xref:SSL_CTX.adoc[SSL_CTX] const* ctx); ---- == Return Value 1 if the key matches the certificate (or neither is set), or 0 on mismatch/error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose default certificate and private key are compared. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#