diff options
author | tb <> | 2024-05-24 19:16:53 +0000 |
---|---|---|
committer | tb <> | 2024-05-24 19:16:53 +0000 |
commit | 8913e3836928202817f52432530c2d66d84d793c (patch) | |
tree | 9ccac8d103915b1227b95e5517a25adbda02c2bc /src/lib/libssl/bs_cbs.c | |
parent | 7d800a11109f89c463c10660e159a4f399c4b5f5 (diff) | |
download | openbsd-8913e3836928202817f52432530c2d66d84d793c.tar.gz openbsd-8913e3836928202817f52432530c2d66d84d793c.tar.bz2 openbsd-8913e3836928202817f52432530c2d66d84d793c.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/libssl/bs_cbs.c')
0 files changed, 0 insertions, 0 deletions