summaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorJuergen Christ <jchrist@linux.ibm.com>2021-03-22 10:04:26 +0100
committerPauli <pauli@openssl.org>2021-03-24 10:34:24 +1000
commitc08138e500ed27c6aa3db98194bd04c400213db3 (patch)
tree81b005d206cfc23756ab4e0f9c8cdeee30caa0ca /crypto/ec
parent0dd19e750f730b44a38ee5c8aaf235f690386f9b (diff)
Fix compilation under -Werror
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)
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/ecx_meth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ecx_meth.c b/crypto/ec/ecx_meth.c
index d68189036b..00896f4186 100644
--- a/crypto/ec/ecx_meth.c
+++ b/crypto/ec/ecx_meth.c
@@ -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"