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