Diff for /embedaddon/mpd/src/chap.c between versions 1.1 and 1.1.1.2

version 1.1, 2012/02/21 23:32:47 version 1.1.1.2, 2016/11/01 09:56:12
Line 698  ChapHash(Link l, int alg, u_char *hash_value, u_char i Line 698  ChapHash(Link l, int alg, u_char *hash_value, u_char i
         if (local) {                    /* generate reverse 'peer challenge' */          if (local) {                    /* generate reverse 'peer challenge' */
           ChapGenRandom(l, val->peerChal, sizeof(val->peerChal));            ChapGenRandom(l, val->peerChal, sizeof(val->peerChal));
           memset(val->reserved, 0, sizeof(val->reserved));            memset(val->reserved, 0, sizeof(val->reserved));
             val->flags = 0; /* rfc2759, paragraph 4 says that flags MUST be zero */
         }          }
         GenerateNTResponse(challenge,          GenerateNTResponse(challenge,
           val->peerChal, username, secret, val->ntHash);            val->peerChal, username, secret, val->ntHash);

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>