diff options
| author | jsing <> | 2014-07-11 08:44:49 +0000 |
|---|---|---|
| committer | jsing <> | 2014-07-11 08:44:49 +0000 |
| commit | 74e2c009c83ad374bd6acdcfc376a384e25ab007 (patch) | |
| tree | 0e726f9e971e00f4c8cd8afab71589803fc11b7f /src/lib/libcrypto/dso | |
| parent | 7610da071a20f4325acc14cb2e961617a821ab35 (diff) | |
| download | openbsd-74e2c009c83ad374bd6acdcfc376a384e25ab007.tar.gz openbsd-74e2c009c83ad374bd6acdcfc376a384e25ab007.tar.bz2 openbsd-74e2c009c83ad374bd6acdcfc376a384e25ab007.zip | |
Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.
ok beck@ miod@
Diffstat (limited to 'src/lib/libcrypto/dso')
| -rw-r--r-- | src/lib/libcrypto/dso/dso_dlfcn.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/dso/dso_lib.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/dso/dso_null.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/dso/dso_openssl.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/dso/dso_dlfcn.c b/src/lib/libcrypto/dso/dso_dlfcn.c index e88553f644..b75c9e23e0 100644 --- a/src/lib/libcrypto/dso/dso_dlfcn.c +++ b/src/lib/libcrypto/dso/dso_dlfcn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dso_dlfcn.c,v 1.26 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: dso_dlfcn.c,v 1.27 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -59,8 +59,8 @@ | |||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | 61 | ||
| 62 | #include "cryptlib.h" | ||
| 63 | #include <openssl/dso.h> | 62 | #include <openssl/dso.h> |
| 63 | #include <openssl/err.h> | ||
| 64 | 64 | ||
| 65 | #ifndef DSO_DLFCN | 65 | #ifndef DSO_DLFCN |
| 66 | DSO_METHOD * | 66 | DSO_METHOD * |
diff --git a/src/lib/libcrypto/dso/dso_lib.c b/src/lib/libcrypto/dso/dso_lib.c index b76bd1ca84..3002e4d99c 100644 --- a/src/lib/libcrypto/dso/dso_lib.c +++ b/src/lib/libcrypto/dso/dso_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dso_lib.c,v 1.17 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: dso_lib.c,v 1.18 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -60,8 +60,8 @@ | |||
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | 61 | ||
| 62 | #include <openssl/crypto.h> | 62 | #include <openssl/crypto.h> |
| 63 | #include "cryptlib.h" | ||
| 64 | #include <openssl/dso.h> | 63 | #include <openssl/dso.h> |
| 64 | #include <openssl/err.h> | ||
| 65 | 65 | ||
| 66 | static DSO_METHOD *default_DSO_meth = NULL; | 66 | static DSO_METHOD *default_DSO_meth = NULL; |
| 67 | 67 | ||
diff --git a/src/lib/libcrypto/dso/dso_null.c b/src/lib/libcrypto/dso/dso_null.c index 572d36d1f6..a3dc0ec1ff 100644 --- a/src/lib/libcrypto/dso/dso_null.c +++ b/src/lib/libcrypto/dso/dso_null.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dso_null.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: dso_null.c,v 1.7 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -60,7 +60,7 @@ | |||
| 60 | * no appropriate support for "shared-libraries". */ | 60 | * no appropriate support for "shared-libraries". */ |
| 61 | 61 | ||
| 62 | #include <stdio.h> | 62 | #include <stdio.h> |
| 63 | #include "cryptlib.h" | 63 | |
| 64 | #include <openssl/dso.h> | 64 | #include <openssl/dso.h> |
| 65 | 65 | ||
| 66 | static DSO_METHOD dso_meth_null = { | 66 | static DSO_METHOD dso_meth_null = { |
diff --git a/src/lib/libcrypto/dso/dso_openssl.c b/src/lib/libcrypto/dso/dso_openssl.c index 6b9d9682fe..37d8d5805f 100644 --- a/src/lib/libcrypto/dso/dso_openssl.c +++ b/src/lib/libcrypto/dso/dso_openssl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dso_openssl.c,v 1.5 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: dso_openssl.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -57,7 +57,7 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include "cryptlib.h" | 60 | |
| 61 | #include <openssl/dso.h> | 61 | #include <openssl/dso.h> |
| 62 | 62 | ||
| 63 | /* We just pinch the method from an appropriate "default" method. */ | 63 | /* We just pinch the method from an appropriate "default" method. */ |
