summaryrefslogtreecommitdiffstats
path: root/nss_engine_pphrase.c
diff options
context:
space:
mode:
authorrcritten <>2006-04-07 20:17:12 +0000
committerrcritten <>2006-04-07 20:17:12 +0000
commit7eed0dc4bb3c6c1308d164da88aef0c7246b142d (patch)
treeb302273684f7eb248d9dbd9d907bad6df392e606 /nss_engine_pphrase.c
parent8ae95918a64277e24405e0ec57fc5d8595e86798 (diff)
downloadmod_nss-7eed0dc4bb3c6c1308d164da88aef0c7246b142d.tar.gz
mod_nss-7eed0dc4bb3c6c1308d164da88aef0c7246b142d.tar.xz
mod_nss-7eed0dc4bb3c6c1308d164da88aef0c7246b142d.zip
188300
Replace C++ style comments to make the Sun Forte compiler happy.
Diffstat (limited to 'nss_engine_pphrase.c')
-rw-r--r--nss_engine_pphrase.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nss_engine_pphrase.c b/nss_engine_pphrase.c
index 7dbc2a9..da6bffb 100644
--- a/nss_engine_pphrase.c
+++ b/nss_engine_pphrase.c
@@ -79,7 +79,7 @@ SECStatus nss_Init_Tokens(server_rec *s)
status = SECFailure;
break;
}
- parg->retryCount = 0; // reset counter to 0 for the next token
+ parg->retryCount = 0; /* reset counter to 0 for the next token */
PK11_FreeSlot(slot);
}
@@ -107,11 +107,11 @@ static char * nss_password_prompt(PK11SlotInfo *slot, PRBool retry, void *arg)
}
prompt = PR_smprintf("Please enter password for \"%s\" token:", PK11_GetTokenName(slot));
if (parg == NULL) {
- // should not happen
+ /* should not happen */
passwd = nss_get_password(stdin, stdout, slot, nss_check_password, 0);
} else {
if (parg->retryCount > 2) {
- passwd = NULL; // abort after 2 retries (3 failed attempts)
+ passwd = NULL; /* abort after 2 retries (3 failed attempts) */
} else {
passwd = nss_get_password(stdin, stdout, slot, nss_check_password, parg);
}