diff options
Diffstat (limited to 'src/lib/libcrypto/md5')
-rw-r--r-- | src/lib/libcrypto/md5/Makefile.ssl | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/md5/asm/md5-586.pl | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/md5/asm/md5-sparcv9.S | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/md5/Makefile.ssl b/src/lib/libcrypto/md5/Makefile.ssl index b11ab476d6..2361775a2d 100644 --- a/src/lib/libcrypto/md5/Makefile.ssl +++ b/src/lib/libcrypto/md5/Makefile.ssl | |||
@@ -6,7 +6,7 @@ DIR= md5 | |||
6 | TOP= ../.. | 6 | TOP= ../.. |
7 | CC= cc | 7 | CC= cc |
8 | CPP= $(CC) -E | 8 | CPP= $(CC) -E |
9 | INCLUDES= | 9 | INCLUDES=-I.. -I$(TOP) -I../../include |
10 | CFLAG=-g | 10 | CFLAG=-g |
11 | INSTALL_PREFIX= | 11 | INSTALL_PREFIX= |
12 | OPENSSLDIR= /usr/local/ssl | 12 | OPENSSLDIR= /usr/local/ssl |
@@ -20,6 +20,7 @@ AR= ar r | |||
20 | MD5_ASM_OBJ= | 20 | MD5_ASM_OBJ= |
21 | 21 | ||
22 | CFLAGS= $(INCLUDES) $(CFLAG) | 22 | CFLAGS= $(INCLUDES) $(CFLAG) |
23 | ASFLAGS= $(INCLUDES) $(ASFLAG) | ||
23 | 24 | ||
24 | GENERAL=Makefile | 25 | GENERAL=Makefile |
25 | TEST=md5test.c | 26 | TEST=md5test.c |
diff --git a/src/lib/libcrypto/md5/asm/md5-586.pl b/src/lib/libcrypto/md5/asm/md5-586.pl index 5fc6a205ce..fa3fa3bed5 100644 --- a/src/lib/libcrypto/md5/asm/md5-586.pl +++ b/src/lib/libcrypto/md5/asm/md5-586.pl | |||
@@ -293,7 +293,7 @@ sub md5_block | |||
293 | &mov(&DWP(12,$tmp2,"",0),$D); | 293 | &mov(&DWP(12,$tmp2,"",0),$D); |
294 | 294 | ||
295 | &cmp($tmp1,$X) unless $normal; # check count | 295 | &cmp($tmp1,$X) unless $normal; # check count |
296 | &jge(&label("start")) unless $normal; | 296 | &jae(&label("start")) unless $normal; |
297 | 297 | ||
298 | &pop("eax"); # pop the temp variable off the stack | 298 | &pop("eax"); # pop the temp variable off the stack |
299 | &pop("ebx"); | 299 | &pop("ebx"); |
diff --git a/src/lib/libcrypto/md5/asm/md5-sparcv9.S b/src/lib/libcrypto/md5/asm/md5-sparcv9.S index a599ed5660..db45aa4c97 100644 --- a/src/lib/libcrypto/md5/asm/md5-sparcv9.S +++ b/src/lib/libcrypto/md5/asm/md5-sparcv9.S | |||
@@ -34,10 +34,12 @@ | |||
34 | * | 34 | * |
35 | * or if above fails (it does if you have gas): | 35 | * or if above fails (it does if you have gas): |
36 | * | 36 | * |
37 | * gcc -E -DULTRASPARC -DMD5_BLOCK_DATA_ORDER md5_block.sparc.S | \ | 37 | * gcc -E -DOPENSSL_SYSNAMEULTRASPARC -DMD5_BLOCK_DATA_ORDER md5_block.sparc.S | \ |
38 | * as -xarch=v8plus /dev/fd/0 -o md5-sparcv9.o | 38 | * as -xarch=v8plus /dev/fd/0 -o md5-sparcv9.o |
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include <openssl/e_os2.h> | ||
42 | |||
41 | #define A %o0 | 43 | #define A %o0 |
42 | #define B %o1 | 44 | #define B %o1 |
43 | #define C %o2 | 45 | #define C %o2 |