Matt Caswell | 0f113f3 | 2015-01-22 03:40:55 +0000 | [diff] [blame] | 1 | /* |
Rich Salz | 846e33c | 2016-05-17 14:18:30 -0400 | [diff] [blame] | 2 | * Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved. |
Dr. Stephen Henson | e0fc796 | 2014-07-23 13:18:06 +0100 | [diff] [blame] | 3 | * |
Rich Salz | 846e33c | 2016-05-17 14:18:30 -0400 | [diff] [blame] | 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 |
Dr. Stephen Henson | e0fc796 | 2014-07-23 13:18:06 +0100 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #include "ssl_locl.h" |
| 11 | |
| 12 | #ifndef OPENSSL_NO_UNIT_TEST |
| 13 | |
Matt Caswell | 0f113f3 | 2015-01-22 03:40:55 +0000 | [diff] [blame] | 14 | static const struct openssl_ssl_test_functions ssl_test_functions = { |
| 15 | ssl_init_wbio_buffer, |
| 16 | ssl3_setup_buffers, |
Matt Caswell | 0f113f3 | 2015-01-22 03:40:55 +0000 | [diff] [blame] | 17 | }; |
Dr. Stephen Henson | e0fc796 | 2014-07-23 13:18:06 +0100 | [diff] [blame] | 18 | |
| 19 | const struct openssl_ssl_test_functions *SSL_test_functions(void) |
Matt Caswell | 0f113f3 | 2015-01-22 03:40:55 +0000 | [diff] [blame] | 20 | { |
| 21 | return &ssl_test_functions; |
| 22 | } |
Dr. Stephen Henson | e0fc796 | 2014-07-23 13:18:06 +0100 | [diff] [blame] | 23 | |
| 24 | #endif |