]> git.ipfire.org Git - thirdparty/openssl.git/blob - ssl/ssl_utst.c
Copyright consolidation 01/10
[thirdparty/openssl.git] / ssl / ssl_utst.c
1 /*
2 * Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10 #include "ssl_locl.h"
11
12 #ifndef OPENSSL_NO_UNIT_TEST
13
14 static const struct openssl_ssl_test_functions ssl_test_functions = {
15 ssl_init_wbio_buffer,
16 ssl3_setup_buffers,
17 # ifndef OPENSSL_NO_HEARTBEATS
18 # undef dtls1_process_heartbeat
19 dtls1_process_heartbeat
20 # endif
21 };
22
23 const struct openssl_ssl_test_functions *SSL_test_functions(void)
24 {
25 return &ssl_test_functions;
26 }
27
28 #endif