Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/gss_mechs/mech_krb5/crypto/des/afsstring2key.c
          +++ new/usr/src/lib/gss_mechs/mech_krb5/crypto/des/afsstring2key.c
↓ open down ↓ 374 lines elided ↑ open up ↑
 375  375          char E[48];
 376  376          /*
 377  377           * The key schedule.
 378  378           * Generated from the key.
 379  379           */
 380  380          char KS[16][48];
 381  381   
 382  382          for(i=0; i<66; i++)
 383  383                  block[i] = 0;
 384  384          /* Solaris Kerberos */
 385      -        for(i=0; ((c= *pw) != NULL) && i<64; pw++){
      385 +        for(i=0; ((c= *pw) != 0) && i<64; pw++){
 386  386                  for(j=0; j<7; j++, i++)
 387  387                          block[i] = (c>>(6-j)) & 01;
 388  388                  i++;
 389  389          }
 390  390          
 391  391          krb5_afs_crypt_setkey(block, E, KS);
 392  392  
 393  393          for(i=0; i<66; i++)
 394  394                  block[i] = 0;
 395  395  
↓ open down ↓ 205 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX