projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a compile time test to verify that openssl/rsa.h and complex.h can
[openssl.git]
/
test
/
ssl_test_ctx.h
diff --git
a/test/ssl_test_ctx.h
b/test/ssl_test_ctx.h
index 2d7b0c207fb741b4bc76a8a77ff9f70ec99eaeee..86d227d86550cf0764838b9899d655147c8706af 100644
(file)
--- a/
test/ssl_test_ctx.h
+++ b/
test/ssl_test_ctx.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016
-2018
The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@
-73,7
+73,8
@@
typedef enum {
SSL_TEST_HANDSHAKE_RENEG_SERVER,
SSL_TEST_HANDSHAKE_RENEG_CLIENT,
SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER,
SSL_TEST_HANDSHAKE_RENEG_SERVER,
SSL_TEST_HANDSHAKE_RENEG_CLIENT,
SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER,
- SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT
+ SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT,
+ SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH
} ssl_handshake_mode_t;
typedef enum {
} ssl_handshake_mode_t;
typedef enum {
@@
-107,6
+108,8
@@
typedef struct {
char *reneg_ciphers;
char *srp_user;
char *srp_password;
char *reneg_ciphers;
char *srp_user;
char *srp_password;
+ /* PHA enabled */
+ int enable_pha;
} SSL_TEST_CLIENT_CONF;
typedef struct {
} SSL_TEST_CLIENT_CONF;
typedef struct {
@@
-122,6
+125,9
@@
typedef struct {
/* An SRP user known to the server. */
char *srp_user;
char *srp_password;
/* An SRP user known to the server. */
char *srp_user;
char *srp_password;
+ /* Forced PHA */
+ int force_pha;
+ char *session_ticket_app_data;
} SSL_TEST_SERVER_CONF;
typedef struct {
} SSL_TEST_SERVER_CONF;
typedef struct {
@@
-211,6
+217,8
@@
typedef struct {
/* Whether to expect a session id from the server */
ssl_session_id_t session_id_expected;
char *expected_cipher;
/* Whether to expect a session id from the server */
ssl_session_id_t session_id_expected;
char *expected_cipher;
+ /* Expected Session Ticket Application Data */
+ char *expected_session_ticket_app_data;
} SSL_TEST_CTX;
const char *ssl_test_result_name(ssl_test_result_t result);
} SSL_TEST_CTX;
const char *ssl_test_result_name(ssl_test_result_t result);