Lines Matching refs:c_ctx
521 SSL_CTX *c_ctx=NULL;
902 c_ctx=SSL_CTX_new(meth);
904 if ((c_ctx == NULL) || (s_ctx == NULL))
912 SSL_CTX_set_cipher_list(c_ctx,cipher);
917 int ssl_mode = SSL_CTX_get_mode(c_ctx);
919 SSL_CTX_set_mode(c_ctx, ssl_mode);
983 SSL_CTX_set_tlsext_opaque_prf_input_callback(c_ctx, opaque_prf_input_cb);
985 SSL_CTX_set_tlsext_opaque_prf_input_callback_arg(c_ctx, &co1); /* or &co2 or NULL */
1002 SSL_CTX_use_certificate_file(c_ctx,client_cert,
1004 SSL_CTX_use_PrivateKey_file(c_ctx,
1011 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||
1012 (!SSL_CTX_set_default_verify_paths(c_ctx)))
1030 SSL_CTX_set_verify(c_ctx,SSL_VERIFY_PEER,
1032 SSL_CTX_set_cert_verify_callback(c_ctx, app_verify_callback, &app_verify_arg);
1052 SSL_CTX_set_psk_client_callback(c_ctx, psk_client_callback);
1067 if (!SSL_CTX_set_srp_username(c_ctx, srp_client_arg.srplogin))
1072 SSL_CTX_set_srp_cb_arg(c_ctx,&srp_client_arg);
1073 SSL_CTX_set_srp_client_pwd_callback(c_ctx, ssl_give_srp_client_pwd_cb);
1074 /*SSL_CTX_set_srp_strength(c_ctx, srp_client_arg.strength);*/
1085 c_ssl=SSL_new(c_ctx);
1149 if (c_ctx != NULL) SSL_CTX_free(c_ctx);