symhacks.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2019-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 OSSL_INTERNAL_SYMHACKS_H
  10. # define OSSL_INTERNAL_SYMHACKS_H
  11. # pragma once
  12. # include <openssl/e_os2.h>
  13. # if defined(OPENSSL_SYS_VMS)
  14. /* ossl_provider_available vs OSSL_PROVIDER_available */
  15. # undef ossl_provider_available
  16. # define ossl_provider_available ossl_int_prov_available
  17. /* ossl_provider_gettable_params vs OSSL_PROVIDER_gettable_params */
  18. # undef ossl_provider_gettable_params
  19. # define ossl_provider_gettable_params ossl_int_prov_gettable_params
  20. /* ossl_provider_get_params vs OSSL_PROVIDER_get_params */
  21. # undef ossl_provider_get_params
  22. # define ossl_provider_get_params ossl_int_prov_get_params
  23. # endif
  24. #endif /* ! defined HEADER_VMS_IDHACKS_H */