diff options
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r-- | src/lib/libcrypto/Makefile.ssl | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/des/Makefile.ssl | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c | 10 | ||||
-rw-r--r-- | src/lib/libcrypto/krb5/Makefile.ssl | 10 | ||||
-rw-r--r-- | src/lib/libcrypto/ocsp/Makefile.ssl | 10 |
5 files changed, 18 insertions, 17 deletions
diff --git a/src/lib/libcrypto/Makefile.ssl b/src/lib/libcrypto/Makefile.ssl index 8ac7016593..91e931a6ed 100644 --- a/src/lib/libcrypto/Makefile.ssl +++ b/src/lib/libcrypto/Makefile.ssl | |||
@@ -98,7 +98,7 @@ lib: $(LIBOBJ) | |||
98 | 98 | ||
99 | shared: | 99 | shared: |
100 | if [ -n "$(SHARED_LIBS)" ]; then \ | 100 | if [ -n "$(SHARED_LIBS)" ]; then \ |
101 | (cd ..; make $(SHARED_LIB)); \ | 101 | (cd ..; $(MAKE) $(SHARED_LIB)); \ |
102 | fi | 102 | fi |
103 | 103 | ||
104 | libs: | 104 | libs: |
diff --git a/src/lib/libcrypto/des/Makefile.ssl b/src/lib/libcrypto/des/Makefile.ssl index 00e479dbd1..14baf7d0cc 100644 --- a/src/lib/libcrypto/des/Makefile.ssl +++ b/src/lib/libcrypto/des/Makefile.ssl | |||
@@ -207,7 +207,8 @@ ecb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | |||
207 | ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 207 | ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
208 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 208 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
209 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 209 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
210 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ecb_enc.c spr.h | 210 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c |
211 | ecb_enc.o: spr.h | ||
211 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 212 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
212 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | 213 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h |
213 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h | 214 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h |
diff --git a/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c b/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c index f946389b8a..b8aab545db 100644 --- a/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c +++ b/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c | |||
@@ -408,7 +408,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
408 | cryp.op=COP_ENCRYPT;/* required to do the MAC rather than check it */ | 408 | cryp.op=COP_ENCRYPT;/* required to do the MAC rather than check it */ |
409 | cryp.len=len; | 409 | cryp.len=len; |
410 | cryp.src=(caddr_t)data; | 410 | cryp.src=(caddr_t)data; |
411 | cryp.dst=(caddr_t)data; // FIXME!!! | 411 | cryp.dst=(caddr_t)data; /* FIXME!!! */ |
412 | cryp.mac=(caddr_t)md; | 412 | cryp.mac=(caddr_t)md; |
413 | 413 | ||
414 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | 414 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) |
@@ -420,7 +420,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
420 | dcopy=OPENSSL_malloc(len); | 420 | dcopy=OPENSSL_malloc(len); |
421 | memcpy(dcopy,data,len); | 421 | memcpy(dcopy,data,len); |
422 | cryp.src=dcopy; | 422 | cryp.src=dcopy; |
423 | cryp.dst=cryp.src; // FIXME!!! | 423 | cryp.dst=cryp.src; /* FIXME!!! */ |
424 | 424 | ||
425 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | 425 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) |
426 | { | 426 | { |
@@ -437,7 +437,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
437 | return 0; | 437 | return 0; |
438 | } | 438 | } |
439 | } | 439 | } |
440 | // printf("done\n"); | 440 | /* printf("done\n"); */ |
441 | 441 | ||
442 | return 1; | 442 | return 1; |
443 | } | 443 | } |
@@ -483,7 +483,7 @@ static int dev_crypto_md5_copy(EVP_MD_CTX *to,const EVP_MD_CTX *from) | |||
483 | const MD_DATA *from_md=from->md_data; | 483 | const MD_DATA *from_md=from->md_data; |
484 | MD_DATA *to_md=to->md_data; | 484 | MD_DATA *to_md=to->md_data; |
485 | 485 | ||
486 | // How do we copy sessions? | 486 | /* How do we copy sessions? */ |
487 | assert(from->digest->flags&EVP_MD_FLAG_ONESHOT); | 487 | assert(from->digest->flags&EVP_MD_FLAG_ONESHOT); |
488 | 488 | ||
489 | to_md->data=OPENSSL_malloc(from_md->len); | 489 | to_md->data=OPENSSL_malloc(from_md->len); |
@@ -530,7 +530,7 @@ static const EVP_MD md5_md= | |||
530 | NID_md5, | 530 | NID_md5, |
531 | NID_md5WithRSAEncryption, | 531 | NID_md5WithRSAEncryption, |
532 | MD5_DIGEST_LENGTH, | 532 | MD5_DIGEST_LENGTH, |
533 | EVP_MD_FLAG_ONESHOT, // XXX: set according to device info... | 533 | EVP_MD_FLAG_ONESHOT, /* XXX: set according to device info... */ |
534 | dev_crypto_md5_init, | 534 | dev_crypto_md5_init, |
535 | dev_crypto_md5_update, | 535 | dev_crypto_md5_update, |
536 | dev_crypto_md5_final, | 536 | dev_crypto_md5_final, |
diff --git a/src/lib/libcrypto/krb5/Makefile.ssl b/src/lib/libcrypto/krb5/Makefile.ssl index 496370f1aa..8daed59211 100644 --- a/src/lib/libcrypto/krb5/Makefile.ssl +++ b/src/lib/libcrypto/krb5/Makefile.ssl | |||
@@ -45,13 +45,13 @@ lib: $(LIBOBJ) | |||
45 | @touch lib | 45 | @touch lib |
46 | 46 | ||
47 | files: | 47 | files: |
48 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 48 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
49 | 49 | ||
50 | links: | 50 | links: |
51 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 51 | @$(TOP)/util/point.sh Makefile.ssl Makefile ; |
52 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 52 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
53 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 53 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
54 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 54 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
55 | 55 | ||
56 | install: | 56 | install: |
57 | @for i in $(EXHEADER) ; \ | 57 | @for i in $(EXHEADER) ; \ |
diff --git a/src/lib/libcrypto/ocsp/Makefile.ssl b/src/lib/libcrypto/ocsp/Makefile.ssl index cf6050dc6e..f5260abaed 100644 --- a/src/lib/libcrypto/ocsp/Makefile.ssl +++ b/src/lib/libcrypto/ocsp/Makefile.ssl | |||
@@ -47,13 +47,13 @@ lib: $(LIBOBJ) | |||
47 | @touch lib | 47 | @touch lib |
48 | 48 | ||
49 | files: | 49 | files: |
50 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 50 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
51 | 51 | ||
52 | links: | 52 | links: |
53 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 53 | @$(TOP)/util/point.sh Makefile.ssl Makefile ; |
54 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 54 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
55 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 55 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
56 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 56 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
57 | 57 | ||
58 | install: | 58 | install: |
59 | @for i in $(EXHEADER) ; \ | 59 | @for i in $(EXHEADER) ; \ |