View | Details | Raw Unified | Return to bug 23204 | Differences between
and this patch

Collapse All | Expand All

(-)crypt-md5.c Fri Dec 1 12:30:26 2000 (-2 / +2 lines)
Lines 66-73 Link Here
66
       if(!strncmp(sp,magic,strlen(magic)))
66
       if(!strncmp(sp,magic,strlen(magic)))
67
               sp += strlen(magic);
67
               sp += strlen(magic);
68
68
69
       /* It stops at the first '$', max 8 chars */
69
       /* It stops at the first '$', max MD5_SALT_SIZE chars */
70
       for(ep=sp;*ep && *ep != '$' && ep < (sp+8);ep++)
70
       for(ep=sp;*ep && *ep != '$' && ep < (sp+MD5_SALT_SIZE);ep++)
71
               continue;
71
               continue;
72
72
73
       /* get the length of the true salt */
73
       /* get the length of the true salt */

Return to bug 23204