summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/conf.c2
-rw-r--r--trust/extract-openssl.c2
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,