Add definitions of OSSL_DEPRECATED[_FOR] for Microsoft VC
authorRichard Levitte <levitte@openssl.org>
Sat, 3 Oct 2020 07:45:24 +0000 (09:45 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 12 Oct 2020 06:29:30 +0000 (08:29 +0200)
commitf044964e7a8b731d1452bbaf5028311db329a45b
tree07900500f04e5686522514d961fdc9172de440df
parent6fbb89fb12b6a5ca9838b357ca6c810c57f474e4
Add definitions of OSSL_DEPRECATED[_FOR] for Microsoft VC

It turns out that they have __declspec(deprecated) that correspond
pretty much to GCC's __attribute__((deprecated)), including for
messages.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13074)
include/openssl/macros.h