]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix compilation under -Werror
authorJuergen Christ <jchrist@linux.ibm.com>
Mon, 22 Mar 2021 09:04:26 +0000 (10:04 +0100)
committerPauli <pauli@openssl.org>
Wed, 24 Mar 2021 00:34:24 +0000 (10:34 +1000)
With strict warnings and warnings as error, openssl currently does not compile
due to a missing include.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14640)

crypto/ec/ecx_meth.c

index d68189036be51c86ead36ae3a0bb133e2846bb4a..00896f4186f0ee18430fda5c4de342bb6bdd8933 100644 (file)
@@ -18,6 +18,7 @@
 #include <openssl/ec.h>
 #include <openssl/core_names.h>
 #include <openssl/param_build.h>
+#include <openssl/rand.h>
 #include "internal/cryptlib.h"
 #include "internal/provider.h"
 #include "crypto/asn1.h"