ssl_err_legacy.c 612 B

123456789101112131415161718192021
  1. /*
  2. * Copyright 2020-2021 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. /* This is the C source file where we include this header directly */
  10. #include <openssl/sslerr_legacy.h>
  11. #include "sslerr.h"
  12. #ifndef OPENSSL_NO_DEPRECATED_3_0
  13. int ERR_load_SSL_strings(void)
  14. {
  15. return ossl_err_load_SSL_strings();
  16. }
  17. #else
  18. NON_EMPTY_TRANSLATION_UNIT
  19. #endif