fix minor bug

This commit is contained in:
morse%netscape.com 1999-06-13 19:53:51 +00:00
parent 4984bba80e
commit 05069a0a19

View File

@ -738,7 +738,7 @@ Wallet_SetKey(PRBool isNewkey) {
}
char * newkey;
if (wallet_KeySize() == 0) {
if ((wallet_KeySize() == 0) && !isNewkey) {
newkey = PL_strdup("");
} else {
newkey = wallet_GetString(password);