diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/by_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/by_file.c b/src/lib/libcrypto/x509/by_file.c index bfab3761d3..9b0fd2542c 100644 --- a/src/lib/libcrypto/x509/by_file.c +++ b/src/lib/libcrypto/x509/by_file.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: by_file.c,v 1.30 2023/12/25 22:14:23 tb Exp $ */ | 1 | /* $OpenBSD: by_file.c,v 1.31 2024/08/31 10:19:17 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -71,7 +71,7 @@ | |||
71 | static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, | 71 | static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, |
72 | long argl, char **ret); | 72 | long argl, char **ret); |
73 | 73 | ||
74 | static X509_LOOKUP_METHOD x509_file_lookup = { | 74 | static const X509_LOOKUP_METHOD x509_file_lookup = { |
75 | .name = "Load file into cache", | 75 | .name = "Load file into cache", |
76 | .new_item = NULL, | 76 | .new_item = NULL, |
77 | .free = NULL, | 77 | .free = NULL, |
@@ -79,7 +79,7 @@ static X509_LOOKUP_METHOD x509_file_lookup = { | |||
79 | .get_by_subject = NULL, | 79 | .get_by_subject = NULL, |
80 | }; | 80 | }; |
81 | 81 | ||
82 | X509_LOOKUP_METHOD * | 82 | const X509_LOOKUP_METHOD * |
83 | X509_LOOKUP_file(void) | 83 | X509_LOOKUP_file(void) |
84 | { | 84 | { |
85 | return &x509_file_lookup; | 85 | return &x509_file_lookup; |