xref: /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/ssl_utst.c (revision 4724848cf0da353df257f730694b7882798e5daf)
1c9496f6bSchristos /*
2*4724848cSchristos  * Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
3c9496f6bSchristos  *
4*4724848cSchristos  * Licensed under the OpenSSL license (the "License").  You may not use
5*4724848cSchristos  * this file except in compliance with the License.  You can obtain a copy
6*4724848cSchristos  * in the file LICENSE in the source distribution or at
7*4724848cSchristos  * https://www.openssl.org/source/license.html
8c9496f6bSchristos  */
9c9496f6bSchristos 
10*4724848cSchristos #include "ssl_local.h"
11c9496f6bSchristos 
12c9496f6bSchristos #ifndef OPENSSL_NO_UNIT_TEST
13c9496f6bSchristos 
14c9496f6bSchristos static const struct openssl_ssl_test_functions ssl_test_functions = {
15c9496f6bSchristos     ssl_init_wbio_buffer,
16c9496f6bSchristos     ssl3_setup_buffers,
17c9496f6bSchristos };
18c9496f6bSchristos 
SSL_test_functions(void)19c9496f6bSchristos const struct openssl_ssl_test_functions *SSL_test_functions(void)
20c9496f6bSchristos {
21c9496f6bSchristos     return &ssl_test_functions;
22c9496f6bSchristos }
23c9496f6bSchristos 
24c9496f6bSchristos #endif
25