int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)
{
    int rv;
    if (x == NULL) {
        SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, ERR_R_PASSED_NULL_PARAMETER);
        return (0);
    }
    rv = ssl_security_cert(NULL, ctx, x, 0, 1);
    if (rv != 1) {
        SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, rv);
        return 0;
    }
    return (ssl_set_cert(ctx->cert, x));
}
['int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)\n{\n    int rv;\n    if (x == NULL) {\n        SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, ERR_R_PASSED_NULL_PARAMETER);\n        return (0);\n    }\n    rv = ssl_security_cert(NULL, ctx, x, 0, 1);\n    if (rv != 1) {\n        SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, rv);\n        return 0;\n    }\n    return (ssl_set_cert(ctx->cert, x));\n}']