about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2013-05-14 15:37:40 -0400
committerJosh Rickmar <jrick@devio.us>2013-05-14 15:37:40 -0400
commit5f5c997e16964a8ab297a656595c46ea4e5ef32d (patch)
treed07eaaebcc301b588ce059738fe01abb92f73215
parenta99ef02ba9242d6923e0b7a5cd204f8da3d78641 (diff)
downloadxombrero-5f5c997e16964a8ab297a656595c46ea4e5ef32d.tar.gz
KNF
-rw-r--r--xombrero.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/xombrero.c b/xombrero.c
index b714ad4..153b531 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -1759,9 +1759,10 @@ get_local_cert_chain(const char *uri, size_t *ncerts, const char **error_str,
 	return (certs);
 }
 
-/* This uses the pem-encoded cert chain saved in t->cert_chain instead
+/*
+ * This uses the pem-encoded cert chain saved in t->cert_chain instead
  * of grabbing the remote cert.  We save it beforehand and read it
- * here so as to not open a side channel that ignores proxy settings. 
+ * here so as to not open a side channel that ignores proxy settings.
  */
 gnutls_x509_crt_t *
 get_remote_cert_chain(const char *uri, size_t *ncerts, const char **error_str,
@@ -1864,12 +1865,13 @@ done:
 	return (0);
 }
 
-/* Checks whether the remote cert is identical to the local saved
+/*
+ * Checks whether the remote cert is identical to the local saved
  * cert.  Returns CERT_LOCAL if unchanged, CERT_UNTRUSTED if local
- * cert does not exist, and CERT_BAD if different. 
+ * cert does not exist, and CERT_BAD if different.
  *
  * Saves entire cert chain in pem encoding to chain for it to be
- * cached later, if needed. 
+ * cached later, if needed.
  */
 enum cert_trust
 check_local_certs(const char *file, GTlsCertificate *cert, char **chain)