diff options
author | jsing <> | 2014-10-18 17:20:40 +0000 |
---|---|---|
committer | jsing <> | 2014-10-18 17:20:40 +0000 |
commit | 04818d13dd76f6467f7c876faf62cbc8f22646ca (patch) | |
tree | 696cfbb2ec3bcc9054a063e16b54be1491e28f34 /src/lib/libcrypto/dsa | |
parent | 5457701478fa7e3c30f0b19a1c3ece131b1bf6c6 (diff) | |
download | openbsd-04818d13dd76f6467f7c876faf62cbc8f22646ca.tar.gz openbsd-04818d13dd76f6467f7c876faf62cbc8f22646ca.tar.bz2 openbsd-04818d13dd76f6467f7c876faf62cbc8f22646ca.zip |
None of these need to include <openssl/rand.h>
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_asn1.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_depr.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_key.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_ossl.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_sign.c | 3 |
5 files changed, 5 insertions, 10 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_asn1.c b/src/lib/libcrypto/dsa/dsa_asn1.c index bbe091b928..7040b5a672 100644 --- a/src/lib/libcrypto/dsa/dsa_asn1.c +++ b/src/lib/libcrypto/dsa/dsa_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_asn1.c,v 1.12 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: dsa_asn1.c,v 1.13 2014/10/18 17:20:40 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -62,7 +62,6 @@ | |||
62 | #include <openssl/asn1t.h> | 62 | #include <openssl/asn1t.h> |
63 | #include <openssl/dsa.h> | 63 | #include <openssl/dsa.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/rand.h> | ||
66 | 65 | ||
67 | /* Override the default new methods */ | 66 | /* Override the default new methods */ |
68 | static int | 67 | static int |
diff --git a/src/lib/libcrypto/dsa/dsa_depr.c b/src/lib/libcrypto/dsa/dsa_depr.c index 472e329207..269cd63450 100644 --- a/src/lib/libcrypto/dsa/dsa_depr.c +++ b/src/lib/libcrypto/dsa/dsa_depr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_depr.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: dsa_depr.c,v 1.7 2014/10/18 17:20:40 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,6 @@ | |||
66 | #include <openssl/bn.h> | 66 | #include <openssl/bn.h> |
67 | #include <openssl/dsa.h> | 67 | #include <openssl/dsa.h> |
68 | #include <openssl/evp.h> | 68 | #include <openssl/evp.h> |
69 | #include <openssl/rand.h> | ||
70 | #include <openssl/sha.h> | 69 | #include <openssl/sha.h> |
71 | 70 | ||
72 | #ifndef OPENSSL_NO_DEPRECATED | 71 | #ifndef OPENSSL_NO_DEPRECATED |
diff --git a/src/lib/libcrypto/dsa/dsa_key.c b/src/lib/libcrypto/dsa/dsa_key.c index 4dc28dbb90..eaf6da8de7 100644 --- a/src/lib/libcrypto/dsa/dsa_key.c +++ b/src/lib/libcrypto/dsa/dsa_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_key.c,v 1.19 2014/07/12 16:03:37 miod Exp $ */ | 1 | /* $OpenBSD: dsa_key.c,v 1.20 2014/10/18 17:20:40 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,7 +65,6 @@ | |||
65 | 65 | ||
66 | #include <openssl/bn.h> | 66 | #include <openssl/bn.h> |
67 | #include <openssl/dsa.h> | 67 | #include <openssl/dsa.h> |
68 | #include <openssl/rand.h> | ||
69 | 68 | ||
70 | static int dsa_builtin_keygen(DSA *dsa); | 69 | static int dsa_builtin_keygen(DSA *dsa); |
71 | 70 | ||
diff --git a/src/lib/libcrypto/dsa/dsa_ossl.c b/src/lib/libcrypto/dsa/dsa_ossl.c index e372853063..03124c87a0 100644 --- a/src/lib/libcrypto/dsa/dsa_ossl.c +++ b/src/lib/libcrypto/dsa/dsa_ossl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_ossl.c,v 1.21 2014/07/12 16:03:37 miod Exp $ */ | 1 | /* $OpenBSD: dsa_ossl.c,v 1.22 2014/10/18 17:20:40 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -64,7 +64,6 @@ | |||
64 | #include <openssl/bn.h> | 64 | #include <openssl/bn.h> |
65 | #include <openssl/dsa.h> | 65 | #include <openssl/dsa.h> |
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/rand.h> | ||
68 | #include <openssl/sha.h> | 67 | #include <openssl/sha.h> |
69 | 68 | ||
70 | static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); | 69 | static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); |
diff --git a/src/lib/libcrypto/dsa/dsa_sign.c b/src/lib/libcrypto/dsa/dsa_sign.c index 80e002c4a7..355bdd20d6 100644 --- a/src/lib/libcrypto/dsa/dsa_sign.c +++ b/src/lib/libcrypto/dsa/dsa_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_sign.c,v 1.18 2014/07/12 16:03:37 miod Exp $ */ | 1 | /* $OpenBSD: dsa_sign.c,v 1.19 2014/10/18 17:20:40 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -60,7 +60,6 @@ | |||
60 | 60 | ||
61 | #include <openssl/bn.h> | 61 | #include <openssl/bn.h> |
62 | #include <openssl/dsa.h> | 62 | #include <openssl/dsa.h> |
63 | #include <openssl/rand.h> | ||
64 | 63 | ||
65 | DSA_SIG * | 64 | DSA_SIG * |
66 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) | 65 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) |