diff options
| author | tb <> | 2024-05-24 19:16:53 +0000 |
|---|---|---|
| committer | tb <> | 2024-05-24 19:16:53 +0000 |
| commit | a6943bfa57b92147bf35e505e1ee3679d7651bcb (patch) | |
| tree | 9ccac8d103915b1227b95e5517a25adbda02c2bc /src/lib/libcrypto/Makefile | |
| parent | 7ec81d325fd39ab93f25cda0eb12ca4dd1f92861 (diff) | |
| download | openbsd-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/Makefile | 3 |
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 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -264,7 +264,6 @@ SRCS+= ecb3_enc.c | |||
| 264 | SRCS+= ecb_enc.c | 264 | SRCS+= ecb_enc.c |
| 265 | SRCS+= ede_cbcm_enc.c | 265 | SRCS+= ede_cbcm_enc.c |
| 266 | SRCS+= enc_read.c | 266 | SRCS+= enc_read.c |
| 267 | SRCS+= enc_writ.c | ||
| 268 | SRCS+= fcrypt.c | 267 | SRCS+= fcrypt.c |
| 269 | SRCS+= fcrypt_b.c | 268 | SRCS+= fcrypt_b.c |
| 270 | SRCS+= ofb64ede.c | 269 | SRCS+= ofb64ede.c |
