aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/plugins/pem/pem_builder.c2
-rw-r--r--src/libstrongswan/plugins/pubkey/pubkey_cert.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pem/pem_builder.c b/src/libstrongswan/plugins/pem/pem_builder.c
index d9461bc7f..c5d96be47 100644
--- a/src/libstrongswan/plugins/pem/pem_builder.c
+++ b/src/libstrongswan/plugins/pem/pem_builder.c
@@ -433,7 +433,7 @@ static void *load_from_file(char *file, credential_type_t type, int subtype,
}
cred = load_from_blob(chunk_create(addr, sb.st_size), type, subtype,
- subject,flags);
+ subject, flags);
munmap(addr, sb.st_size);
close(fd);
diff --git a/src/libstrongswan/plugins/pubkey/pubkey_cert.c b/src/libstrongswan/plugins/pubkey/pubkey_cert.c
index 7d211c50a..67240fe0c 100644
--- a/src/libstrongswan/plugins/pubkey/pubkey_cert.c
+++ b/src/libstrongswan/plugins/pubkey/pubkey_cert.c
@@ -55,6 +55,7 @@ struct private_pubkey_cert_t {
* key expiration time
*/
time_t notAfter;
+
/**
* reference count
*/