summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authortb <>2024-05-24 19:16:53 +0000
committertb <>2024-05-24 19:16:53 +0000
commita6943bfa57b92147bf35e505e1ee3679d7651bcb (patch)
tree9ccac8d103915b1227b95e5517a25adbda02c2bc /src/lib/libcrypto/Makefile
parent7ec81d325fd39ab93f25cda0eb12ca4dd1f92861 (diff)
downloadopenbsd-a6943bfa57b92147bf35e505e1ee3679d7651bcb.tar.gz
openbsd-a6943bfa57b92147bf35e505e1ee3679d7651bcb.tar.bz2
openbsd-a6943bfa57b92147bf35e505e1ee3679d7651bcb.zip
Stub out DES_enc_{read,write}(3)
The most terrible code in OpenSSL has its roots in libdes, which came before SSLeay. Hello, LHASH. Hello speed app. Hello DES (obviously). There are some diary-style changelog comments dating all the way back to 1990. /* This has some uglies in it but it works - even over sockets. */ Well, kind of: * - This code cannot handle non-blocking sockets. Also: /* >output is a multiple of 8 byes, if len < rnum * >we must be careful. The user must be aware that this * >routine will write more bytes than he asked for. * >The length of the buffer must be correct. * FIXED - Should be ok now 18-9-90 - eay */ Or /* This is really a bad error - very bad * It will stuff-up both ends. */ Or #ifdef _LIBC extern unsigned long time(); extern int write(); #endif I can't even... Delete, delete, delete. ok jsing
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r--src/lib/libcrypto/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index 39997b0886..564dc01169 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.194 2024/04/25 16:14:00 tb Exp $ 1# $OpenBSD: Makefile,v 1.195 2024/05/24 19:16:53 tb Exp $
2 2
3LIB= crypto 3LIB= crypto
4LIBREBUILD=y 4LIBREBUILD=y
@@ -264,7 +264,6 @@ SRCS+= ecb3_enc.c
264SRCS+= ecb_enc.c 264SRCS+= ecb_enc.c
265SRCS+= ede_cbcm_enc.c 265SRCS+= ede_cbcm_enc.c
266SRCS+= enc_read.c 266SRCS+= enc_read.c
267SRCS+= enc_writ.c
268SRCS+= fcrypt.c 267SRCS+= fcrypt.c
269SRCS+= fcrypt_b.c 268SRCS+= fcrypt_b.c
270SRCS+= ofb64ede.c 269SRCS+= ofb64ede.c