Home | History | Annotate | Download | only in ssl

Lines Matching refs:c_ctx

521 	SSL_CTX *c_ctx=NULL;
896 c_ctx=SSL_CTX_new(meth);
898 if ((c_ctx == NULL) || (s_ctx == NULL))
906 SSL_CTX_set_cipher_list(c_ctx,cipher);
911 int ssl_mode = SSL_CTX_get_mode(c_ctx);
913 SSL_CTX_set_mode(c_ctx, ssl_mode);
977 SSL_CTX_set_tlsext_opaque_prf_input_callback(c_ctx, opaque_prf_input_cb);
979 SSL_CTX_set_tlsext_opaque_prf_input_callback_arg(c_ctx, &co1); /* or &co2 or NULL */
996 SSL_CTX_use_certificate_file(c_ctx,client_cert,
998 SSL_CTX_use_PrivateKey_file(c_ctx,
1005 (!SSL_CTX_load_verify_locations(c_ctx,CAfile,CApath)) ||
1006 (!SSL_CTX_set_default_verify_paths(c_ctx)))
1024 SSL_CTX_set_verify(c_ctx,SSL_VERIFY_PEER,
1026 SSL_CTX_set_cert_verify_callback(c_ctx, app_verify_callback, &app_verify_arg);
1046 SSL_CTX_set_psk_client_callback(c_ctx, psk_client_callback);
1061 if (!SSL_CTX_set_srp_username(c_ctx, srp_client_arg.srplogin))
1066 SSL_CTX_set_srp_cb_arg(c_ctx,&srp_client_arg);
1067 SSL_CTX_set_srp_client_pwd_callback(c_ctx, ssl_give_srp_client_pwd_cb);
1068 /*SSL_CTX_set_srp_strength(c_ctx, srp_client_arg.strength);*/
1079 c_ssl=SSL_new(c_ctx);
1143 if (c_ctx != NULL) SSL_CTX_free(c_ctx);