summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bn/bn_rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/bn/bn_rand.c')
-rw-r--r--lib/libcrypto/bn/bn_rand.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libcrypto/bn/bn_rand.c b/lib/libcrypto/bn/bn_rand.c
index cbb1984a2ed..acb17882ef8 100644
--- a/lib/libcrypto/bn/bn_rand.c
+++ b/lib/libcrypto/bn/bn_rand.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bn_rand.c,v 1.14 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: bn_rand.c,v 1.15 2014/07/11 08:44:48 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -111,10 +111,12 @@
#include <stdio.h>
#include <time.h>
-#include "cryptlib.h"
-#include "bn_lcl.h"
+
+#include <openssl/err.h>
#include <openssl/rand.h>
+#include "bn_lcl.h"
+
static int
bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
{