Surround usage of the GEN_BREAK macro with open and close braces

This commit is contained in:
Elio Maldonado 2009-03-15 18:22:02 +00:00
parent 7336c3ae40
commit 2ef70de00d
1 changed files with 4 additions and 2 deletions

View File

@ -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.