summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md5
diff options
context:
space:
mode:
authorjsing <>2014-05-24 09:16:08 +0000
committerjsing <>2014-05-24 09:16:08 +0000
commit81c3704f0fa44495d3a569a9f2c35b5bf8bef3be (patch)
tree8c5241e44e7eefe5e9cdf6e12a5a011a5242602f /src/lib/libcrypto/md5
parent07988dbca5705f1e84fc0efc6982d15d55302cd0 (diff)
downloadopenbsd-81c3704f0fa44495d3a569a9f2c35b5bf8bef3be.tar.gz
openbsd-81c3704f0fa44495d3a569a9f2c35b5bf8bef3be.tar.bz2
openbsd-81c3704f0fa44495d3a569a9f2c35b5bf8bef3be.zip
Almost nothing actually needs to include <openssl/e_os2.h>, however by
including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@
Diffstat (limited to 'src/lib/libcrypto/md5')
-rw-r--r--src/lib/libcrypto/md5/md5.h3
-rw-r--r--src/lib/libcrypto/md5/md5_locl.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/md5/md5.h b/src/lib/libcrypto/md5/md5.h
index 747bd929fd..08004aef6e 100644
--- a/src/lib/libcrypto/md5/md5.h
+++ b/src/lib/libcrypto/md5/md5.h
@@ -59,9 +59,10 @@
59#ifndef HEADER_MD5_H 59#ifndef HEADER_MD5_H
60#define HEADER_MD5_H 60#define HEADER_MD5_H
61 61
62#include <openssl/e_os2.h>
63#include <stddef.h> 62#include <stddef.h>
64 63
64#include <openssl/opensslconf.h>
65
65#ifdef __cplusplus 66#ifdef __cplusplus
66extern "C" { 67extern "C" {
67#endif 68#endif
diff --git a/src/lib/libcrypto/md5/md5_locl.h b/src/lib/libcrypto/md5/md5_locl.h
index 74d63d1f9c..3a6dce4da7 100644
--- a/src/lib/libcrypto/md5/md5_locl.h
+++ b/src/lib/libcrypto/md5/md5_locl.h
@@ -58,7 +58,9 @@
58 58
59#include <stdlib.h> 59#include <stdlib.h>
60#include <string.h> 60#include <string.h>
61#include <openssl/e_os2.h> 61
62#include <openssl/opensslconf.h>
63
62#include <openssl/md5.h> 64#include <openssl/md5.h>
63 65
64#ifndef MD5_LONG_LOG2 66#ifndef MD5_LONG_LOG2