summaryrefslogtreecommitdiff
path: root/lib/smime
diff options
context:
space:
mode:
authorMartin Thomson <martin.thomson@gmail.com>2017-09-08 10:26:21 +1000
committerMartin Thomson <martin.thomson@gmail.com>2017-09-08 10:26:21 +1000
commita78db3ef9f6e97353d636564f8bf2112ae1efbd3 (patch)
tree967726e4a7fc8fe50d91a2abd8eb3a54d795dabc /lib/smime
parent369c2546c705c0177ef62e165136aef3f703045e (diff)
downloadnss-hg-a78db3ef9f6e97353d636564f8bf2112ae1efbd3.tar.gz
Bug 1397990 - Run clang-format 4.0, r=me
These files were being reformatted by clang-format 4.0. If you make this change, then both 3.9 (in CI) and 4.0 are happy with the result. I don't plan to do this often, but it is a huge help. Note that the PK11 ECDSA tests are an odd duck, I have more on that coming.
Diffstat (limited to 'lib/smime')
-rw-r--r--lib/smime/cmsdecode.c3
-rw-r--r--lib/smime/cmsencode.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/smime/cmsdecode.c b/lib/smime/cmsdecode.c
index d96511171..62b4ebfe5 100644
--- a/lib/smime/cmsdecode.c
+++ b/lib/smime/cmsdecode.c
@@ -87,8 +87,7 @@ nss_cms_decoder_notify(void *arg, PRBool before, void *dest, int depth)
/* XXX error handling: need to set p7dcx->error */
#ifdef CMSDEBUG
- fprintf(stderr, "%6.6s, dest = 0x%08x, depth = %d\n", before ? "before"
- : "after",
+ fprintf(stderr, "%6.6s, dest = 0x%08x, depth = %d\n", before ? "before" : "after",
dest, depth);
#endif
diff --git a/lib/smime/cmsencode.c b/lib/smime/cmsencode.c
index a4414e008..0d723e865 100644
--- a/lib/smime/cmsencode.c
+++ b/lib/smime/cmsencode.c
@@ -134,8 +134,7 @@ nss_cms_encoder_notify(void *arg, PRBool before, void *dest, int depth)
rootcinfo = &(p7ecx->cmsg->contentInfo);
#ifdef CMSDEBUG
- fprintf(stderr, "%6.6s, dest = 0x%08x, depth = %d\n", before ? "before"
- : "after",
+ fprintf(stderr, "%6.6s, dest = 0x%08x, depth = %d\n", before ? "before" : "after",
dest, depth);
#endif