X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Fhandshake_helper.h;h=f0ae5a8d7e1a8340e478a675dc4b02ccf48dfd65;hp=96c670e3870cc13062908c0eeae72b9b2595c7a6;hb=0e43960e88128bb86031a45c0fe9ca3e3a310c3b;hpb=a84e5c9aa8e50af2bcb445ab30a0e9c19e72f60b diff --git a/test/handshake_helper.h b/test/handshake_helper.h index 96c670e387..f0ae5a8d7e 100644 --- a/test/handshake_helper.h +++ b/test/handshake_helper.h @@ -1,14 +1,14 @@ /* - * 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 + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ -#ifndef HEADER_HANDSHAKE_HELPER_H -#define HEADER_HANDSHAKE_HELPER_H +#ifndef OSSL_TEST_HANDSHAKE_HELPER_H +#define OSSL_TEST_HANDSHAKE_HELPER_H #include "ssl_test_ctx.h" @@ -64,6 +64,9 @@ typedef struct handshake_result { STACK_OF(X509_NAME) *client_ca_names; /* Session id status */ ssl_session_id_t session_id; + char *cipher; + /* session ticket application data */ + char *result_session_ticket_app_data; } HANDSHAKE_RESULT; HANDSHAKE_RESULT *HANDSHAKE_RESULT_new(void); @@ -75,4 +78,4 @@ HANDSHAKE_RESULT *do_handshake(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, SSL_CTX *resume_client_ctx, const SSL_TEST_CTX *test_ctx); -#endif /* HEADER_HANDSHAKE_HELPER_H */ +#endif /* OSSL_TEST_HANDSHAKE_HELPER_H */