Home
last modified time | relevance | path

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

/openssl/test/helpers/
H A Dhandshake_srp.c31 if (strcmp(ctx_data->srp_user, SSL_get_srp_username(s)) != 0) in server_srp_cb()
33 if (SSL_set_srp_server_param_pw(s, ctx_data->srp_user, in server_srp_cb()
49 if (extra->server.srp_user != NULL) { in configure_handshake_ctx_for_srp()
51 server_ctx_data->srp_user = OPENSSL_strdup(extra->server.srp_user); in configure_handshake_ctx_for_srp()
54 OPENSSL_free(server_ctx_data->srp_user); in configure_handshake_ctx_for_srp()
56 server_ctx_data->srp_user = NULL; in configure_handshake_ctx_for_srp()
62 if (extra->server2.srp_user != NULL) { in configure_handshake_ctx_for_srp()
66 server2_ctx_data->srp_user = OPENSSL_strdup(extra->server2.srp_user); in configure_handshake_ctx_for_srp()
69 OPENSSL_free(server2_ctx_data->srp_user); in configure_handshake_ctx_for_srp()
71 server2_ctx_data->srp_user = NULL; in configure_handshake_ctx_for_srp()
[all …]
H A Dssl_test_ctx.h111 char *srp_user; member
130 char *srp_user; member
H A Dssl_test_ctx.c360 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CLIENT_CONF, client, srp_user)
361 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_SERVER_CONF, server, srp_user)
761 OPENSSL_free(conf->server.srp_user); in ssl_test_extra_conf_free_data()
763 OPENSSL_free(conf->server2.srp_user); in ssl_test_extra_conf_free_data()
765 OPENSSL_free(conf->client.srp_user); in ssl_test_extra_conf_free_data()
H A Dhandshake.h20 char *srp_user; member
H A Dhandshake.c70 OPENSSL_free(ctx_data->srp_user); in ctx_data_free_data()
71 ctx_data->srp_user = NULL; in ctx_data_free_data()

Completed in 21 milliseconds