diff options
author | Emilia Kasper <emilia@openssl.org> | 2017-03-14 13:48:54 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2017-03-14 15:07:50 +0100 |
commit | ea1ecd9831cfe8de9dbeafdfec344b8c944c9b84 (patch) | |
tree | 0bc72e3a4ca7d40ba0cc943099195af509b0ee1d /test/ssl_test_ctx.h | |
parent | 4b5f7e7555340db28b285452cfd0cafe1854de2a (diff) |
Port SRP tests to the new test framework
Also add negative tests for password mismatch.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r-- | test/ssl_test_ctx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index 300a557880..3d8f72bbe5 100644 --- a/test/ssl_test_ctx.h +++ b/test/ssl_test_ctx.h @@ -81,6 +81,7 @@ typedef enum { SSL_TEST_CERT_STATUS_GOOD_RESPONSE, SSL_TEST_CERT_STATUS_BAD_RESPONSE } ssl_cert_status_t; + /* * Server/client settings that aren't supported by the SSL CONF library, * such as callbacks. @@ -96,6 +97,8 @@ typedef struct { ssl_ct_validation_t ct_validation; /* Ciphersuites to set on a renegotiation */ char *reneg_ciphers; + char *srp_user; + char *srp_password; } SSL_TEST_CLIENT_CONF; typedef struct { @@ -108,6 +111,9 @@ typedef struct { int broken_session_ticket; /* Should we send a CertStatus message? */ ssl_cert_status_t cert_status; + /* An SRP user known to the server. */ + char *srp_user; + char *srp_password; } SSL_TEST_SERVER_CONF; typedef struct { |