summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dsa
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-10-18 17:20:41 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-10-18 17:20:41 +0000
commit473f0d2e51cb3f97148528cdd2e4962b06bbe224 (patch)
tree56f100bcb23e5254d1a0a083da025c2cd617e23b /lib/libcrypto/dsa
parent9599907024bcd69afc1de317cc2b3f4dcad838a3 (diff)
None of these need to include <openssl/rand.h>
Diffstat (limited to 'lib/libcrypto/dsa')
-rw-r--r--lib/libcrypto/dsa/dsa_asn1.c3
-rw-r--r--lib/libcrypto/dsa/dsa_depr.c3
-rw-r--r--lib/libcrypto/dsa/dsa_key.c3
-rw-r--r--lib/libcrypto/dsa/dsa_ossl.c3
-rw-r--r--lib/libcrypto/dsa/dsa_sign.c3
5 files changed, 5 insertions, 10 deletions
diff --git a/lib/libcrypto/dsa/dsa_asn1.c b/lib/libcrypto/dsa/dsa_asn1.c
index bbe091b9285..7040b5a6729 100644
--- a/lib/libcrypto/dsa/dsa_asn1.c
+++ b/lib/libcrypto/dsa/dsa_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_asn1.c,v 1.12 2014/07/11 08:44:48 jsing Exp $ */
+/* $OpenBSD: dsa_asn1.c,v 1.13 2014/10/18 17:20:40 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -62,7 +62,6 @@
#include <openssl/asn1t.h>
#include <openssl/dsa.h>
#include <openssl/err.h>
-#include <openssl/rand.h>
/* Override the default new methods */
static int
diff --git a/lib/libcrypto/dsa/dsa_depr.c b/lib/libcrypto/dsa/dsa_depr.c
index 472e3292072..269cd634507 100644
--- a/lib/libcrypto/dsa/dsa_depr.c
+++ b/lib/libcrypto/dsa/dsa_depr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_depr.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */
+/* $OpenBSD: dsa_depr.c,v 1.7 2014/10/18 17:20:40 jsing Exp $ */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
@@ -66,7 +66,6 @@
#include <openssl/bn.h>
#include <openssl/dsa.h>
#include <openssl/evp.h>
-#include <openssl/rand.h>
#include <openssl/sha.h>
#ifndef OPENSSL_NO_DEPRECATED
diff --git a/lib/libcrypto/dsa/dsa_key.c b/lib/libcrypto/dsa/dsa_key.c
index 4dc28dbb90c..eaf6da8de7a 100644
--- a/lib/libcrypto/dsa/dsa_key.c
+++ b/lib/libcrypto/dsa/dsa_key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_key.c,v 1.19 2014/07/12 16:03:37 miod Exp $ */
+/* $OpenBSD: dsa_key.c,v 1.20 2014/10/18 17:20:40 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -65,7 +65,6 @@
#include <openssl/bn.h>
#include <openssl/dsa.h>
-#include <openssl/rand.h>
static int dsa_builtin_keygen(DSA *dsa);
diff --git a/lib/libcrypto/dsa/dsa_ossl.c b/lib/libcrypto/dsa/dsa_ossl.c
index e3728530634..03124c87a06 100644
--- a/lib/libcrypto/dsa/dsa_ossl.c
+++ b/lib/libcrypto/dsa/dsa_ossl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_ossl.c,v 1.21 2014/07/12 16:03:37 miod Exp $ */
+/* $OpenBSD: dsa_ossl.c,v 1.22 2014/10/18 17:20:40 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -64,7 +64,6 @@
#include <openssl/bn.h>
#include <openssl/dsa.h>
#include <openssl/err.h>
-#include <openssl/rand.h>
#include <openssl/sha.h>
static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
diff --git a/lib/libcrypto/dsa/dsa_sign.c b/lib/libcrypto/dsa/dsa_sign.c
index 80e002c4a7a..355bdd20d6f 100644
--- a/lib/libcrypto/dsa/dsa_sign.c
+++ b/lib/libcrypto/dsa/dsa_sign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_sign.c,v 1.18 2014/07/12 16:03:37 miod Exp $ */
+/* $OpenBSD: dsa_sign.c,v 1.19 2014/10/18 17:20:40 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -60,7 +60,6 @@
#include <openssl/bn.h>
#include <openssl/dsa.h>
-#include <openssl/rand.h>
DSA_SIG *
DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)