diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/by_mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/by_mem.c b/src/lib/libcrypto/x509/by_mem.c index ac3a24dea2..71afefa8a4 100644 --- a/src/lib/libcrypto/x509/by_mem.c +++ b/src/lib/libcrypto/x509/by_mem.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: by_mem.c,v 1.9 2023/12/25 22:14:23 tb Exp $ */ | 1 | /* $OpenBSD: by_mem.c,v 1.10 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 | * |
@@ -72,7 +72,7 @@ | |||
72 | 72 | ||
73 | static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **); | 73 | static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **); |
74 | 74 | ||
75 | static X509_LOOKUP_METHOD x509_mem_lookup = { | 75 | static const X509_LOOKUP_METHOD x509_mem_lookup = { |
76 | .name = "Load cert from memory", | 76 | .name = "Load cert from memory", |
77 | .new_item = NULL, | 77 | .new_item = NULL, |
78 | .free = NULL, | 78 | .free = NULL, |
@@ -80,7 +80,7 @@ static X509_LOOKUP_METHOD x509_mem_lookup = { | |||
80 | .get_by_subject = NULL, | 80 | .get_by_subject = NULL, |
81 | }; | 81 | }; |
82 | 82 | ||
83 | X509_LOOKUP_METHOD * | 83 | const X509_LOOKUP_METHOD * |
84 | X509_LOOKUP_mem(void) | 84 | X509_LOOKUP_mem(void) |
85 | { | 85 | { |
86 | return (&x509_mem_lookup); | 86 | return (&x509_mem_lookup); |