diff options
| author | reyk <> | 2015-02-05 01:33:22 +0000 |
|---|---|---|
| committer | reyk <> | 2015-02-05 01:33:22 +0000 |
| commit | a1c0159c37615070d2b9a91e3ed4cfc4f80a06b1 (patch) | |
| tree | 376c2f5ea49eefabc971e492dcd7cdf7623d2882 /src/lib/libcrypto/x509/by_mem.c | |
| parent | e5689cad339ded249c3f732b06838893306edc77 (diff) | |
| download | openbsd-a1c0159c37615070d2b9a91e3ed4cfc4f80a06b1.tar.gz openbsd-a1c0159c37615070d2b9a91e3ed4cfc4f80a06b1.tar.bz2 openbsd-a1c0159c37615070d2b9a91e3ed4cfc4f80a06b1.zip | |
Declare the x509_(mem|file|dir)_lookup symbols as static because they
shouldn't be used directly. They aren't part of the API; each module
(file, dir, mem) provides an actual function to export the now-static
object.
OK miod@
Diffstat (limited to 'src/lib/libcrypto/x509/by_mem.c')
| -rw-r--r-- | src/lib/libcrypto/x509/by_mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/by_mem.c b/src/lib/libcrypto/x509/by_mem.c index c01c4d20be..ecab813406 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.2 2015/01/22 11:16:56 jsing Exp $ */ | 1 | /* $OpenBSD: by_mem.c,v 1.3 2015/02/05 01:33:22 reyk 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 | * |
| @@ -70,7 +70,7 @@ | |||
| 70 | 70 | ||
| 71 | static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **); | 71 | static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **); |
| 72 | 72 | ||
| 73 | X509_LOOKUP_METHOD x509_mem_lookup = { | 73 | static X509_LOOKUP_METHOD x509_mem_lookup = { |
| 74 | .name = "Load cert from memory", | 74 | .name = "Load cert from memory", |
| 75 | .new_item = NULL, | 75 | .new_item = NULL, |
| 76 | .free = NULL, | 76 | .free = NULL, |
