Surround usage of the GEN_BREAK macro with open and close braces
This commit is contained in:
parent
7336c3ae40
commit
2ef70de00d
@ -1243,7 +1243,9 @@ KeyOut(const char *keyoutfile,
|
|||||||
* key which we will decrypt.
|
* key which we will decrypt.
|
||||||
*/
|
*/
|
||||||
rv = PK11_GenerateRandom(randomPassword, RAND_PASS_LEN);
|
rv = PK11_GenerateRandom(randomPassword, RAND_PASS_LEN);
|
||||||
if (rv != SECSuccess) GEN_BREAK(rv);
|
if (rv != SECSuccess) {
|
||||||
|
GEN_BREAK(rv);
|
||||||
|
}
|
||||||
pwitem.data = randomPassword;
|
pwitem.data = randomPassword;
|
||||||
pwitem.len = RAND_PASS_LEN;
|
pwitem.len = RAND_PASS_LEN;
|
||||||
pwitem.type = siBuffer;
|
pwitem.type = siBuffer;
|
||||||
@ -1654,7 +1656,7 @@ shutdown:
|
|||||||
return rv == SECSuccess ? 0 : 255;
|
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
|
/* Key generation, encryption, and certificate utility code, based on
|
||||||
* code from NSS's security utilities and the certutil application.
|
* code from NSS's security utilities and the certutil application.
|
||||||
|
Loading…
Reference in New Issue
Block a user