2
0

deprecated.h 940 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2016-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. /*
  10. * This header file should be included by internal code that needs to use APIs
  11. * that have been deprecated for public use, but where those symbols will still
  12. * be available internally. For example the EVP and provider code needs to use
  13. * low level APIs that are otherwise deprecated.
  14. *
  15. * This header *must* be the first OpenSSL header included by a source file.
  16. */
  17. #ifndef OSSL_INTERNAL_DEPRECATED_H
  18. # define OSSL_INTERNAL_DEPRECATED_H
  19. # pragma once
  20. # include <openssl/configuration.h>
  21. # undef OPENSSL_NO_DEPRECATED
  22. # define OPENSSL_SUPPRESS_DEPRECATED
  23. # include <openssl/macros.h>
  24. #endif