]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
RAND_METHOD deprecation: tests
authorPauli <paul.dale@oracle.com>
Thu, 10 Dec 2020 02:04:45 +0000 (12:04 +1000)
committerPauli <ppzgs1@gmail.com>
Tue, 23 Feb 2021 13:24:13 +0000 (23:24 +1000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13652)

test/drbgtest.c

index 765c2d23df19ac49175adbd3e29e9f70b73dc0b2..bedc62ca2cab39630716678cbd8b4205ecc7f728 100644 (file)
@@ -7,6 +7,9 @@
  * https://www.openssl.org/source/license.html
  */
 
+/* We need to use some deprecated APIs */
+#define OPENSSL_SUPPRESS_DEPRECATED
+
 #include <string.h>
 #include "internal/nelem.h"
 #include <openssl/crypto.h>