diff options
Diffstat (limited to 'src/lib/libcrypto/bf')
-rw-r--r-- | src/lib/libcrypto/bf/Makefile.ssl | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bf/bftest.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bf/Makefile.ssl b/src/lib/libcrypto/bf/Makefile.ssl index cf2f7dd48e..f4eb90f13f 100644 --- a/src/lib/libcrypto/bf/Makefile.ssl +++ b/src/lib/libcrypto/bf/Makefile.ssl | |||
@@ -77,7 +77,9 @@ links: | |||
77 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 77 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
78 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 78 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
79 | 79 | ||
80 | install: | 80 | install: installs |
81 | |||
82 | installs: | ||
81 | @for i in $(EXHEADER) ; \ | 83 | @for i in $(EXHEADER) ; \ |
82 | do \ | 84 | do \ |
83 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | 85 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
diff --git a/src/lib/libcrypto/bf/bftest.c b/src/lib/libcrypto/bf/bftest.c index 5695250195..cf67cadefd 100644 --- a/src/lib/libcrypto/bf/bftest.c +++ b/src/lib/libcrypto/bf/bftest.c | |||
@@ -442,7 +442,8 @@ static int test(void) | |||
442 | { | 442 | { |
443 | BF_set_key(&key,n,key_test); | 443 | BF_set_key(&key,n,key_test); |
444 | BF_ecb_encrypt(key_data,out,&key,BF_ENCRYPT); | 444 | BF_ecb_encrypt(key_data,out,&key,BF_ENCRYPT); |
445 | if (memcmp(out,&(key_out[n-1][0]),8) != 0) | 445 | /* mips-sgi-irix6.5-gcc vv -mabi=64 bug workaround */ |
446 | if (memcmp(out,&(key_out[i=n-1][0]),8) != 0) | ||
446 | { | 447 | { |
447 | printf("blowfish setkey error\n"); | 448 | printf("blowfish setkey error\n"); |
448 | err=1; | 449 | err=1; |