Home
last modified time | relevance | path

Searched refs:srp_user (Results 1 – 5 of 5) sorted by relevance

/third_party/openssl/test/helpers/
Dhandshake_srp.c30 if (strcmp(ctx_data->srp_user, SSL_get_srp_username(s)) != 0) in server_srp_cb()
32 if (SSL_set_srp_server_param_pw(s, ctx_data->srp_user, in server_srp_cb()
48 if (extra->server.srp_user != NULL) { in configure_handshake_ctx_for_srp()
50 server_ctx_data->srp_user = OPENSSL_strdup(extra->server.srp_user); in configure_handshake_ctx_for_srp()
52 if (server_ctx_data->srp_user == NULL || server_ctx_data->srp_password == NULL) { in configure_handshake_ctx_for_srp()
53 OPENSSL_free(server_ctx_data->srp_user); in configure_handshake_ctx_for_srp()
55 server_ctx_data->srp_user = NULL; in configure_handshake_ctx_for_srp()
61 if (extra->server2.srp_user != NULL) { in configure_handshake_ctx_for_srp()
65 server2_ctx_data->srp_user = OPENSSL_strdup(extra->server2.srp_user); in configure_handshake_ctx_for_srp()
67 if (server2_ctx_data->srp_user == NULL || server2_ctx_data->srp_password == NULL) { in configure_handshake_ctx_for_srp()
[all …]
Dssl_test_ctx.h110 char *srp_user; member
129 char *srp_user; member
Dssl_test_ctx.c359 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CLIENT_CONF, client, srp_user)
360 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_SERVER_CONF, server, srp_user)
743 OPENSSL_free(conf->server.srp_user); in ssl_test_extra_conf_free_data()
745 OPENSSL_free(conf->server2.srp_user); in ssl_test_extra_conf_free_data()
747 OPENSSL_free(conf->client.srp_user); in ssl_test_extra_conf_free_data()
Dhandshake.h20 char *srp_user; member
Dhandshake.c70 OPENSSL_free(ctx_data->srp_user); in ctx_data_free_data()
71 ctx_data->srp_user = NULL; in ctx_data_free_data()