Bug noted by Simon Oakley <soakley@nextone.com>
* Add non-protocol attibutes.
*/
fprintf(outfp, "\tTimestamp = %ld\n", request->timestamp);
- if (request->packet->verified)
+ if (request->packet->verified == 2)
fputs("\tRequest-Authenticator = Verified\n", outfp);
- else
+ else if (request->packet->verified == 1)
fputs("\tRequest-Authenticator = None\n", outfp);
fputs("\n", outfp);
fclose(outfp);