summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto
diff options
context:
space:
mode:
authorbcook <>2014-12-03 22:14:38 +0000
committerbcook <>2014-12-03 22:14:38 +0000
commit3339178a7b37aca236756b5c97ee1a4fe72c768f (patch)
treeec0d6eb647087e2fbc3c6af2a81b45d6593562d4 /src/lib/libcrypto/crypto
parent4269f19abeb7cbb7878b44e8f882a74ca4646ea9 (diff)
downloadopenbsd-3339178a7b37aca236756b5c97ee1a4fe72c768f.tar.gz
openbsd-3339178a7b37aca236756b5c97ee1a4fe72c768f.tar.bz2
openbsd-3339178a7b37aca236756b5c97ee1a4fe72c768f.zip
Move Windows OS-specific functions to make porting easier.
Several functions that need to be redefined for a Windows port are right in the middle of other code that is relatively portable. This patch isolates the functions that need Windows-specific implementations so they can be built conditionally in the portable tree. ok jsing@ deraadt@
Diffstat (limited to 'src/lib/libcrypto/crypto')
-rw-r--r--src/lib/libcrypto/crypto/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/crypto/Makefile b/src/lib/libcrypto/crypto/Makefile
index c6b7c6db46..f1e54659e6 100644
--- a/src/lib/libcrypto/crypto/Makefile
+++ b/src/lib/libcrypto/crypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.50 2014/11/20 19:19:09 miod Exp $ 1# $OpenBSD: Makefile,v 1.51 2014/12/03 22:14:38 bcook Exp $
2 2
3LIB= crypto 3LIB= crypto
4 4
@@ -58,7 +58,7 @@ SRCS+= bio_lib.c bio_cb.c bio_err.c
58SRCS+= bss_mem.c bss_null.c bss_fd.c 58SRCS+= bss_mem.c bss_null.c bss_fd.c
59SRCS+= bss_file.c bss_sock.c bss_conn.c 59SRCS+= bss_file.c bss_sock.c bss_conn.c
60SRCS+= bf_null.c bf_buff.c b_print.c b_dump.c 60SRCS+= bf_null.c bf_buff.c b_print.c b_dump.c
61SRCS+= b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c 61SRCS+= b_posix.c b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c
62SRCS+= bss_dgram.c 62SRCS+= bss_dgram.c
63 63
64# bn/ 64# bn/
@@ -96,7 +96,7 @@ SRCS+= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c
96SRCS+= conf_mall.c conf_sap.c 96SRCS+= conf_mall.c conf_sap.c
97 97
98# des/ 98# des/
99SRCS+= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c 99SRCS+= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c
100SRCS+= ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c 100SRCS+= ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c
101SRCS+= fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c 101SRCS+= fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c
102SRCS+= qud_cksm.c rand_key.c set_key.c xcbc_enc.c 102SRCS+= qud_cksm.c rand_key.c set_key.c xcbc_enc.c
@@ -433,13 +433,13 @@ obj_dat.h: obj_mac.h
433.include "${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc" 433.include "${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc"
434.else 434.else
435CFLAGS+=-DOPENSSL_NO_ASM 435CFLAGS+=-DOPENSSL_NO_ASM
436SRCS+= aes_core.c aes_cbc.c 436SRCS+= aes_core.c aes_cbc.c
437SRCS+= bf_enc.c 437SRCS+= bf_enc.c
438SRCS+= bn_asm.c 438SRCS+= bn_asm.c
439SRCS+= camellia.c cmll_cbc.c cmll_misc.c 439SRCS+= camellia.c cmll_cbc.c cmll_misc.c
440SRCS+= des_enc.c fcrypt_b.c 440SRCS+= des_enc.c fcrypt_b.c
441SRCS+= rc4_enc.c rc4_skey.c 441SRCS+= rc4_enc.c rc4_skey.c
442#SRCS+= rc5_enc.c 442#SRCS+= rc5_enc.c
443SRCS+= wp_block.c 443SRCS+= wp_block.c
444.endif 444.endif
445 445