diff options
| author | tb <> | 2024-08-31 09:21:44 +0000 |
|---|---|---|
| committer | tb <> | 2024-08-31 09:21:44 +0000 |
| commit | 99f92d1f135e09a99ace18755bc48e1f954b46cb (patch) | |
| tree | 385ecf672229f7634b674c09baf02af1f1d0936b /src/lib/libcrypto/conf/conf_lib.c | |
| parent | f725589730b88830cf4e7f19e9e69b38a87802d9 (diff) | |
| download | openbsd-99f92d1f135e09a99ace18755bc48e1f954b46cb.tar.gz openbsd-99f92d1f135e09a99ace18755bc48e1f954b46cb.tar.bz2 openbsd-99f92d1f135e09a99ace18755bc48e1f954b46cb.zip | |
Make CONF_METHOD opaque
Much of conf is designed in such a way that you really have to reach into
its structs. This one piece can be hidden. It might even be removed soon.
ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/conf/conf_lib.c')
| -rw-r--r-- | src/lib/libcrypto/conf/conf_lib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/conf/conf_lib.c b/src/lib/libcrypto/conf/conf_lib.c index 01735906c0..fca7486de3 100644 --- a/src/lib/libcrypto/conf/conf_lib.c +++ b/src/lib/libcrypto/conf/conf_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: conf_lib.c,v 1.18 2024/08/31 09:18:00 tb Exp $ */ | 1 | /* $OpenBSD: conf_lib.c,v 1.19 2024/08/31 09:21:44 tb Exp $ */ |
| 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -63,6 +63,8 @@ | |||
| 63 | #include <openssl/conf_api.h> | 63 | #include <openssl/conf_api.h> |
| 64 | #include <openssl/lhash.h> | 64 | #include <openssl/lhash.h> |
| 65 | 65 | ||
| 66 | #include "conf_local.h" | ||
| 67 | |||
| 66 | static CONF_METHOD *default_CONF_method = NULL; | 68 | static CONF_METHOD *default_CONF_method = NULL; |
| 67 | 69 | ||
| 68 | /* Init a 'CONF' structure from an old LHASH */ | 70 | /* Init a 'CONF' structure from an old LHASH */ |
