mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 01:55:52 +01:00
Official deprecate compat-1.2.h and openssl.h
This commit is contained in:
parent
a82135c5cf
commit
8c3f0f4c16
@ -19,9 +19,9 @@ Features
|
|||||||
speed and RAM (heap only for now) usage.
|
speed and RAM (heap only for now) usage.
|
||||||
* New script memory.sh helps measuring the ROM and RAM requirements of two
|
* New script memory.sh helps measuring the ROM and RAM requirements of two
|
||||||
reduced configurations (PSK-CCM and NSA suite B).
|
reduced configurations (PSK-CCM and NSA suite B).
|
||||||
* Add config flags POLARSSL_DEPRECATED_WARNING (off by default) to produce
|
* Add config flag POLARSSL_DEPRECATED_WARNING (off by default) to produce
|
||||||
warnings on use of deprecated functions (with GCC and Clang only).
|
warnings on use of deprecated functions (with GCC and Clang only).
|
||||||
* Add config flags POLARSSL_DEPRECATED_REMOVED (off by default) to produce
|
* Add config flag POLARSSL_DEPRECATED_REMOVED (off by default) to produce
|
||||||
errors on use of deprecated functions.
|
errors on use of deprecated functions.
|
||||||
|
|
||||||
Bugfix
|
Bugfix
|
||||||
@ -43,6 +43,7 @@ Bugfix
|
|||||||
curve picked by the server was actually allowed.
|
curve picked by the server was actually allowed.
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
|
* compat-1.2.h and openssl.h are deprecated.
|
||||||
* Adjusting/overriding CFLAGS and LDFLAGS with the make build syste is now
|
* Adjusting/overriding CFLAGS and LDFLAGS with the make build syste is now
|
||||||
more flexible (warning: OFLAGS is not used any more) (see the README)
|
more flexible (warning: OFLAGS is not used any more) (see the README)
|
||||||
(contributed by Alon Bar-Lev).
|
(contributed by Alon Bar-Lev).
|
||||||
|
@ -23,6 +23,15 @@
|
|||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
#if ! defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
||||||
|
#warning "Including compat-1.2.h is deprecated"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MBEDTLS_COMPAT13_H
|
||||||
|
#define MBEDTLS_COMPAT13_H
|
||||||
|
|
||||||
#ifndef POLARSSL_COMPAT_1_2_H
|
#ifndef POLARSSL_COMPAT_1_2_H
|
||||||
#define POLARSSL_COMPAT_1_2_H
|
#define POLARSSL_COMPAT_1_2_H
|
||||||
|
|
||||||
@ -386,3 +395,4 @@ static inline int x509_write_key_der( unsigned char *buf, size_t len, rsa_contex
|
|||||||
}
|
}
|
||||||
#endif /* POLARSSL_PK_WRITE_C && POLARSSL_RSA_C */
|
#endif /* POLARSSL_PK_WRITE_C && POLARSSL_RSA_C */
|
||||||
#endif /* compat-1.2.h */
|
#endif /* compat-1.2.h */
|
||||||
|
#endif /* MBEDTLS_DEPRECATED_REMOVED */
|
||||||
|
@ -23,9 +23,17 @@
|
|||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* OpenSSL wrapper contributed by David Barett
|
* OpenSSL wrapper contributed by David Barett
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if ! defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
||||||
|
#warning "Including openssl.h is deprecated"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef POLARSSL_OPENSSL_H
|
#ifndef POLARSSL_OPENSSL_H
|
||||||
#define POLARSSL_OPENSSL_H
|
#define POLARSSL_OPENSSL_H
|
||||||
|
|
||||||
@ -137,3 +145,4 @@ inline int RSA_private_encrypt( int size, unsigned char* input, unsigned char* o
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* openssl.h */
|
#endif /* openssl.h */
|
||||||
|
#endif /* MBEDTLS_DEPRECATED_REMOVED */
|
||||||
|
Loading…
Reference in New Issue
Block a user