summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md4/md4.c
diff options
context:
space:
mode:
authorbeck <>2014-04-18 21:11:00 +0000
committerbeck <>2014-04-18 21:11:00 +0000
commit3003b76c7c4042048bfe7a344d529ec0f03dd638 (patch)
tree08077f4870903dd9ea491499c1d25a0a6693a465 /src/lib/libcrypto/md4/md4.c
parenta505a455abe7e50200002d907071ceffe1e3eb85 (diff)
downloadopenbsd-3003b76c7c4042048bfe7a344d529ec0f03dd638.tar.gz
openbsd-3003b76c7c4042048bfe7a344d529ec0f03dd638.tar.bz2
openbsd-3003b76c7c4042048bfe7a344d529ec0f03dd638.zip
Unsurprisingly, since <unistd.h> was so darn hard to find for OpenSSL developers
they had resorted to manually protyping read(2) instead of incredible amount of preprocessor wizardry needed to find the ever illusive <unistd.h>. Let's just include <unistd.h> and we don't need to do this.. While we're at it flense out _OSD_POSIX and __DGJPP__ cruft. ok krw@
Diffstat (limited to 'src/lib/libcrypto/md4/md4.c')
-rw-r--r--src/lib/libcrypto/md4/md4.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/md4/md4.c b/src/lib/libcrypto/md4/md4.c
index 141415ad4d..1b78f667f1 100644
--- a/src/lib/libcrypto/md4/md4.c
+++ b/src/lib/libcrypto/md4/md4.c
@@ -56,6 +56,7 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#include <unistd.h>
59#include <stdio.h> 60#include <stdio.h>
60#include <stdlib.h> 61#include <stdlib.h>
61#include <openssl/md4.h> 62#include <openssl/md4.h>
@@ -64,9 +65,6 @@
64 65
65void do_fp(FILE *f); 66void do_fp(FILE *f);
66void pt(unsigned char *md); 67void pt(unsigned char *md);
67#if !defined(_OSD_POSIX) && !defined(__DJGPP__)
68int read(int, void *, unsigned int);
69#endif
70 68
71int main(int argc, char **argv) 69int main(int argc, char **argv)
72 { 70 {