1*b0d17251Schristos /* 2*b0d17251Schristos * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. 3*b0d17251Schristos * 4*b0d17251Schristos * Licensed under the Apache License 2.0 (the "License"). You may not use 5*b0d17251Schristos * this file except in compliance with the License. You can obtain a copy 6*b0d17251Schristos * in the file LICENSE in the source distribution or at 7*b0d17251Schristos * https://www.openssl.org/source/license.html 8*b0d17251Schristos */ 9*b0d17251Schristos 10*b0d17251Schristos /* 11*b0d17251Schristos * This header file should be included by internal code that needs to use APIs 12*b0d17251Schristos * that have been deprecated for public use, but where those symbols will still 13*b0d17251Schristos * be available internally. For example the EVP and provider code needs to use 14*b0d17251Schristos * low level APIs that are otherwise deprecated. 15*b0d17251Schristos * 16*b0d17251Schristos * This header *must* be the first OpenSSL header included by a source file. 17*b0d17251Schristos */ 18*b0d17251Schristos 19*b0d17251Schristos #ifndef OSSL_INTERNAL_DEPRECATED_H 20*b0d17251Schristos # define OSSL_INTERNAL_DEPRECATED_H 21*b0d17251Schristos # pragma once 22*b0d17251Schristos 23*b0d17251Schristos # include <openssl/configuration.h> 24*b0d17251Schristos 25*b0d17251Schristos # undef OPENSSL_NO_DEPRECATED 26*b0d17251Schristos # define OPENSSL_SUPPRESS_DEPRECATED 27*b0d17251Schristos 28*b0d17251Schristos # include <openssl/macros.h> 29*b0d17251Schristos 30*b0d17251Schristos #endif 31