diff options
author | Ben Laurie <ben@links.org> | 2015-09-05 14:32:58 +0200 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2015-09-11 05:51:55 +0200 |
commit | df2ee0e27d2db02660c1d15fe6a3e38be9df0a60 (patch) | |
tree | 8a86e360b2f0c811186bf7009f20d13b0c65b820 /crypto/x509/by_dir.c | |
parent | Unwriteable directories are errors (diff) | |
download | openssl-df2ee0e27d2db02660c1d15fe6a3e38be9df0a60.tar.xz openssl-df2ee0e27d2db02660c1d15fe6a3e38be9df0a60.zip |
Enable -Wmissing-variable-declarations and
-Wincompatible-pointer-types-discards-qualifiers (the latter did not require
any code changes).
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/by_dir.c')
-rw-r--r-- | crypto/x509/by_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index bd6c3c8d6d..f55e235ef7 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -99,7 +99,7 @@ static void free_dir(X509_LOOKUP *lu); static int add_cert_dir(BY_DIR *ctx, const char *dir, int type); static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, X509_OBJECT *ret); -X509_LOOKUP_METHOD x509_dir_lookup = { +static X509_LOOKUP_METHOD x509_dir_lookup = { "Load certs from files in a directory", new_dir, /* new */ free_dir, /* free */ |