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

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

version 1.2, 2021/03/09 14:48:42 version 1.4, 2021/03/15 14:49:34
Line 1 
Line 1 
 /* dgamelaunch.c  /* dgamelaunch.c
  *   *
    * (c)2021 RubĂ©n Llorente <porting@use.startmail.com>
  * (c)2001-4 M. Drew Streib <dtype@dtype.org>   * (c)2001-4 M. Drew Streib <dtype@dtype.org>
  * also parts (c) 2003-4 Joshua Kwan <joshk@triplehelix.org>,   * also parts (c) 2003-4 Joshua Kwan <joshk@triplehelix.org>,
  * Brett Carrington <brettcar@segvio.org>,   * Brett Carrington <brettcar@segvio.org>,
Line 1559  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.2  
changed lines
  Added in v.1.4

CVSweb