Repair my dyslexia: s/opt/otp/ in the OPIE challenge. D'oh!

Submitted by:	gshapiro
This commit is contained in:
kris 2000-09-02 04:41:33 +00:00
parent 6eee534256
commit 8b99f6e1dc

View File

@ -156,7 +156,7 @@ skey_fake_keyinfo(char *username)
free(up);
(void)snprintf(skeyprompt, sizeof skeyprompt,
"opt-%.*s %d %.*s ext",
"otp-%.*s %d %.*s ext",
OPIE_HASHNAME_MAX,
opie_get_algorithm(),
ptr, OPIE_SEED_MAX,
@ -179,7 +179,7 @@ skey_fake_keyinfo(char *username)
pbuf[6] = '\0';
(void)snprintf(skeyprompt, sizeof skeyprompt,
"opt-md5 %d %.*s ext",
"otp-md5 %d %.*s ext",
499, OPIE_SEED_MAX, pbuf);
}
return skeyprompt;