Lines Matching refs:srp_user
31 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()
53 if (server_ctx_data->srp_user == NULL || server_ctx_data->srp_password == NULL) { 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()
68 if (server2_ctx_data->srp_user == NULL || server2_ctx_data->srp_password == NULL) { 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()
77 if (extra->client.srp_user != NULL) { in configure_handshake_ctx_for_srp()
79 extra->client.srp_user))) in configure_handshake_ctx_for_srp()