[BACK]Return to dgamelaunch.c CVS log [TXT][DIR] Up to [contributed] / dgamelaunch-openbsd

Diff for /dgamelaunch-openbsd/dgamelaunch.c between version 1.3 and 1.4

version 1.3, 2021/03/14 19:25:49 version 1.4, 2021/03/15 14:49:34
Line 1560  changepw (int dowrite)
Line 1560  changepw (int dowrite)
 #if defined(__OpenBSD__)  #if defined(__OpenBSD__)
   me->password = (char *) malloc((_PASSWORD_LEN+1)*sizeof(char));    me->password = (char *) malloc((_PASSWORD_LEN+1)*sizeof(char));
  if ( crypt_newhash(buf, "blowfish,12", me->password, _PASSWORD_LEN) != 0)   if ( crypt_newhash(buf, "blowfish,12", me->password, _PASSWORD_LEN) != 0)
   graceful_exit(1);    graceful_exit(300);
 #else  #else
   me->password = strdup (crypt (buf, buf));    me->password = strdup (crypt (buf, buf));
 #endif  #endif

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb