ssl_utst.c 625 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License 2.0 (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. #include "ssl_local.h"
  10. #ifndef OPENSSL_NO_UNIT_TEST
  11. static const struct openssl_ssl_test_functions ssl_test_functions = {
  12. ssl_init_wbio_buffer,
  13. ssl3_setup_buffers,
  14. };
  15. const struct openssl_ssl_test_functions *SSL_test_functions(void)
  16. {
  17. return &ssl_test_functions;
  18. }
  19. #endif