diff options
author | tb <> | 2023-12-29 05:33:32 +0000 |
---|---|---|
committer | tb <> | 2023-12-29 05:33:32 +0000 |
commit | cc4c5fb8cba6334c1540d03d7c8906fb65d970ed (patch) | |
tree | ecc402de1accc0fd65340d0445d4b36f6bec4d96 /src/lib/libcrypto/x509/x509_local.h | |
parent | 1403bca0e40f316819d03224cbc102ccadf8647c (diff) | |
download | openbsd-cc4c5fb8cba6334c1540d03d7c8906fb65d970ed.tar.gz openbsd-cc4c5fb8cba6334c1540d03d7c8906fb65d970ed.tar.bz2 openbsd-cc4c5fb8cba6334c1540d03d7c8906fb65d970ed.zip |
Use a void pointer rather than char for method_data
This way we don't need to cast from BY_DIR * to char * and back in
its only consumer, the lovely by_dir.
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h index 6ae930614b..6285370b2d 100644 --- a/src/lib/libcrypto/x509/x509_local.h +++ b/src/lib/libcrypto/x509/x509_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_local.h,v 1.16 2023/12/29 05:17:20 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.17 2023/12/29 05:33:32 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2013. | 3 | * project 2013. |
4 | */ | 4 | */ |
@@ -300,7 +300,7 @@ struct x509_store_st { | |||
300 | /* This is the functions plus an instance of the local variables. */ | 300 | /* This is the functions plus an instance of the local variables. */ |
301 | struct x509_lookup_st { | 301 | struct x509_lookup_st { |
302 | X509_LOOKUP_METHOD *method; /* the functions */ | 302 | X509_LOOKUP_METHOD *method; /* the functions */ |
303 | char *method_data; /* method data */ | 303 | void *method_data; /* method data */ |
304 | 304 | ||
305 | X509_STORE *store_ctx; /* who owns us */ | 305 | X509_STORE *store_ctx; /* who owns us */ |
306 | } /* X509_LOOKUP */; | 306 | } /* X509_LOOKUP */; |