Configure option 'no-deprecated' means '-DOPENSSL_API_COMPAT=0x10100000L'
authorRichard Levitte <levitte@openssl.org>
Tue, 12 Jun 2018 16:26:37 +0000 (18:26 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 19 Jun 2018 08:33:01 +0000 (10:33 +0200)
commit973abf52304b454e8f2220a11aa8b6c6512c44fb
tree3e7abd507c98ec2d549e6f2ef2e6cdbfc65f96fd
parent575045f59fc393abc9d49604d82ccd17c82925fa
Configure option 'no-deprecated' means '-DOPENSSL_API_COMPAT=0x10100000L'

(that is, until 1.2.0 comes along)

Since we allow future deprecation (and that shouldn't be affected
by 'no-deprecated'), we need to distinguish what to have deprecated
on the value of OPENSSL_API_COMPAT, not the existence of
OPENSSL_NO_DEPRECATED.

Note that the macro OPENSSL_NO_DEPRECATED still exists, in case
someone still uses it.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6470)
include/openssl/opensslconf.h.in