diff options
author | Stef Walter <stef@thewalter.net> | 2013-07-18 16:12:30 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-18 16:12:30 +0200 |
commit | 86060d6b17fa3848e60aaff9be7768a761c7c428 (patch) | |
tree | 5e00bf576f2785cbc12ae959d96a7c08def76d4e | |
parent | 263a83278bd305eb2951907faa3fe08a79fcdeec (diff) |
Add appropriate const qualifiers
-rw-r--r-- | p11-kit/conf.c | 2 | ||||
-rw-r--r-- | trust/extract-openssl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/p11-kit/conf.c b/p11-kit/conf.c index 0ecb40a..2a6dc5c 100644 --- a/p11-kit/conf.c +++ b/p11-kit/conf.c @@ -287,7 +287,7 @@ static char * calc_name_from_filename (const char *fname) { /* We eventually want to settle on .module */ - static const char const *suffix = ".module"; + static const char *const suffix = ".module"; static const size_t suffix_len = 7; const char *c = fname; size_t fname_len; diff --git a/trust/extract-openssl.c b/trust/extract-openssl.c index 666f189..c263ba1 100644 --- a/trust/extract-openssl.c +++ b/trust/extract-openssl.c @@ -79,7 +79,7 @@ known_usages (p11_array *oids) char *string; int i; - static const char *strings[] = { + static const char *const strings[] = { P11_OID_SERVER_AUTH_STR, P11_OID_CLIENT_AUTH_STR, P11_OID_CODE_SIGNING_STR, |