You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

symhacks.h 1.1 kB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright 1999-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. #ifndef OPENSSL_SYMHACKS_H
  10. #define OPENSSL_SYMHACKS_H
  11. #pragma once
  12. #include <openssl/macros.h>
  13. #ifndef OPENSSL_NO_DEPRECATED_3_0
  14. #define HEADER_SYMHACKS_H
  15. #endif
  16. #include <openssl/e_os2.h>
  17. /* Case insensitive linking causes problems.... */
  18. #if defined(OPENSSL_SYS_VMS)
  19. #undef ERR_load_CRYPTO_strings
  20. #define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings
  21. #undef OCSP_crlID_new
  22. #define OCSP_crlID_new OCSP_crlID2_new
  23. #undef d2i_ECPARAMETERS
  24. #define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS
  25. #undef i2d_ECPARAMETERS
  26. #define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS
  27. #undef d2i_ECPKPARAMETERS
  28. #define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS
  29. #undef i2d_ECPKPARAMETERS
  30. #define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS
  31. #endif
  32. #endif /* ! defined HEADER_VMS_IDHACKS_H */