Lines Matching defs:c_ctx
406 SSL_CTX *c_ctx=NULL;
715 c_ctx=SSL_CTX_new(meth);
717 if ((c_ctx == NULL) || (s_ctx == NULL))
725 SSL_CTX_set_cipher_list(c_ctx,cipher);
798 SSL_CTX_use_certificate_file(c_ctx,client_cert,
800 SSL_CTX_use_PrivateKey_file(c_ctx,
807 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||
808 (!SSL_CTX_set_default_verify_paths(c_ctx)))
826 SSL_CTX_set_verify(c_ctx,SSL_VERIFY_PEER,
828 SSL_CTX_set_cert_verify_callback(c_ctx, app_verify_callback, &app_verify_arg);
836 c_ssl=SSL_new(c_ctx);
900 if (c_ctx != NULL) SSL_CTX_free(c_ctx);