diff options
| author | miod <> | 2014-04-13 15:16:37 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-13 15:16:37 +0000 |
| commit | 25175e3da5ec29dca5edfe32f588ea68b17071c9 (patch) | |
| tree | af609a7374a1d1f305a0380423258452f82a8cd7 /src/lib/libcrypto/sha | |
| parent | adb31f466163d59ad933cf9d299ce6c610f1cff3 (diff) | |
| download | openbsd-25175e3da5ec29dca5edfe32f588ea68b17071c9.tar.gz openbsd-25175e3da5ec29dca5edfe32f588ea68b17071c9.tar.bz2 openbsd-25175e3da5ec29dca5edfe32f588ea68b17071c9.zip | |
Import OpenSSL 1.0.1g
Diffstat (limited to 'src/lib/libcrypto/sha')
| -rw-r--r-- | src/lib/libcrypto/sha/Makefile | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/sha/sha_dgst.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/sha/Makefile b/src/lib/libcrypto/sha/Makefile index 6d191d3936..2eb2b7af99 100644 --- a/src/lib/libcrypto/sha/Makefile +++ b/src/lib/libcrypto/sha/Makefile | |||
| @@ -60,7 +60,9 @@ sha256-armv4.S: asm/sha256-armv4.pl | |||
| 60 | $(PERL) $< $(PERLASM_SCHEME) $@ | 60 | $(PERL) $< $(PERLASM_SCHEME) $@ |
| 61 | 61 | ||
| 62 | sha1-alpha.s: asm/sha1-alpha.pl | 62 | sha1-alpha.s: asm/sha1-alpha.pl |
| 63 | $(PERL) $< | $(CC) -E - | tee $@ > /dev/null | 63 | (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \ |
| 64 | $(PERL) asm/sha1-alpha.pl > $$preproc && \ | ||
| 65 | $(CC) -E $$preproc > $@ && rm $$preproc) | ||
| 64 | 66 | ||
| 65 | # Solaris make has to be explicitly told | 67 | # Solaris make has to be explicitly told |
| 66 | sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@ | 68 | sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@ |
diff --git a/src/lib/libcrypto/sha/sha_dgst.c b/src/lib/libcrypto/sha/sha_dgst.c index c946ad827d..fb63b17ff2 100644 --- a/src/lib/libcrypto/sha/sha_dgst.c +++ b/src/lib/libcrypto/sha/sha_dgst.c | |||
| @@ -56,8 +56,8 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <openssl/opensslconf.h> | ||
| 60 | #include <openssl/crypto.h> | 59 | #include <openssl/crypto.h> |
| 60 | #include <openssl/opensslconf.h> | ||
| 61 | #if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA) | 61 | #if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA) |
| 62 | 62 | ||
| 63 | #undef SHA_1 | 63 | #undef SHA_1 |
