From 2ef70de00dcc12fcb7f49c04d8cbb4bff08004b6 Mon Sep 17 00:00:00 2001 From: Elio Maldonado Date: Sun, 15 Mar 2009 18:22:02 +0000 Subject: [PATCH] Surround usage of the GEN_BREAK macro with open and close braces --- keyutil.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/keyutil.c b/keyutil.c index ca811e8..875bb87 100755 --- a/keyutil.c +++ b/keyutil.c @@ -1243,7 +1243,9 @@ KeyOut(const char *keyoutfile, * key which we will decrypt. */ rv = PK11_GenerateRandom(randomPassword, RAND_PASS_LEN); - if (rv != SECSuccess) GEN_BREAK(rv); + if (rv != SECSuccess) { + GEN_BREAK(rv); + } pwitem.data = randomPassword; pwitem.len = RAND_PASS_LEN; pwitem.type = siBuffer; @@ -1654,7 +1656,7 @@ shutdown: return rv == SECSuccess ? 0 : 255; } -/* $Id: keyutil.c,v 1.13 2009/01/29 22:22:17 emaldonado Exp $ */ +/* $Id: keyutil.c,v 1.14 2009/02/20 23:00:35 emaldonado Exp $ */ /* Key generation, encryption, and certificate utility code, based on * code from NSS's security utilities and the certutil application.