diff options
author | doug <> | 2015-09-13 21:09:56 +0000 |
---|---|---|
committer | doug <> | 2015-09-13 21:09:56 +0000 |
commit | f84194ca116d8e28c7eb7098c2c8d88f43bd56ac (patch) | |
tree | 982a180264ee66bd2bae30aea737ff5770b8509b /src/lib/libcrypto/sha/sha1dgst.c | |
parent | aed7a5964f2147a9a2a73616e52bcefdcf925ecc (diff) | |
download | openbsd-f84194ca116d8e28c7eb7098c2c8d88f43bd56ac.tar.gz openbsd-f84194ca116d8e28c7eb7098c2c8d88f43bd56ac.tar.bz2 openbsd-f84194ca116d8e28c7eb7098c2c8d88f43bd56ac.zip |
Remove SHA-0 support.
SHA-0 was withdrawn shortly after publication 20 years ago and replaced
with SHA-1. This will require a major crank.
ok bcook@, jsing@
Diffstat (limited to 'src/lib/libcrypto/sha/sha1dgst.c')
-rw-r--r-- | src/lib/libcrypto/sha/sha1dgst.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/sha/sha1dgst.c b/src/lib/libcrypto/sha/sha1dgst.c index aac27bdd2d..583d1068ba 100644 --- a/src/lib/libcrypto/sha/sha1dgst.c +++ b/src/lib/libcrypto/sha/sha1dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sha1dgst.c,v 1.13 2014/07/10 22:45:58 jsing Exp $ */ | 1 | /* $OpenBSD: sha1dgst.c,v 1.14 2015/09/13 21:09:56 doug 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 | * |
@@ -62,9 +62,6 @@ | |||
62 | 62 | ||
63 | #if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA) | 63 | #if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA) |
64 | 64 | ||
65 | #undef SHA_0 | ||
66 | #define SHA_1 | ||
67 | |||
68 | #include <openssl/opensslv.h> | 65 | #include <openssl/opensslv.h> |
69 | 66 | ||
70 | /* The implementation is in ../md32_common.h */ | 67 | /* The implementation is in ../md32_common.h */ |