update csd comment: prev, not next, sync challenge, due to state v4
authorfcusack <fcusack>
Wed, 2 Nov 2005 06:48:42 +0000 (06:48 +0000)
committerfcusack <fcusack>
Wed, 2 Nov 2005 06:48:42 +0000 (06:48 +0000)
src/modules/rlm_otp/otp.h

index e7025d5..3a377b7 100644 (file)
@@ -141,8 +141,8 @@ typedef struct otp_user_state_t {
   lsmd_fd_t    *fdp;                   /* fd for return data             */
   int          nullstate;              /* null state?                    */
   int          updated;                /* state updated? (1 unless err)  */
-  char         challenge[OTP_MAX_CHALLENGE_LEN+1];     /* next sync chal */
-  char         csd[OTP_MAX_CSD_LEN+1]; /* card specific data             */
+  char         challenge[OTP_MAX_CHALLENGE_LEN+1];     /* prev sync chal */
+  char         csd[OTP_MAX_CSD_LEN+1]; /* card specific data             */
   unsigned     failcount;              /* number of consecutive failures */
   int          authewin;               /* ewindow position for softfail  */
   int          authtwin;               /* twindow position for softfail  */