xref: /netbsd-src/crypto/external/bsd/openssl/dist/ssl/ssl_utst.c (revision b0d1725196a7921d003d2c66a14f186abda4176b)
1635165faSspz /*
2c7da899bSchristos  * Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
33104391aSspz  *
4*b0d17251Schristos  * Licensed under the Apache License 2.0 (the "License").  You may not use
5c7da899bSchristos  * this file except in compliance with the License.  You can obtain a copy
6c7da899bSchristos  * in the file LICENSE in the source distribution or at
7c7da899bSchristos  * https://www.openssl.org/source/license.html
83104391aSspz  */
93104391aSspz 
107d004720Schristos #include "ssl_local.h"
113104391aSspz 
123104391aSspz #ifndef OPENSSL_NO_UNIT_TEST
133104391aSspz 
14635165faSspz static const struct openssl_ssl_test_functions ssl_test_functions = {
153104391aSspz     ssl_init_wbio_buffer,
163104391aSspz     ssl3_setup_buffers,
173104391aSspz };
183104391aSspz 
SSL_test_functions(void)193104391aSspz const struct openssl_ssl_test_functions *SSL_test_functions(void)
203104391aSspz {
213104391aSspz     return &ssl_test_functions;
223104391aSspz }
233104391aSspz 
243104391aSspz #endif
25