Difference for server/main.c from version 1.14 to 1.15


version 1.14 version 1.15
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.14 2000/11/23 07:32:47 cvs Exp $";   *    "$Id: main.c,v 1.15 2000/11/26 01:54:40 cvs Exp $";
  */   */
   
 /*  /*
Line 26
 
Line 26
     The author can be reached via e-mail to mwedel@scruz.net      The author can be reached via e-mail to mwedel@scruz.net
 */  */
   
 #ifdef HAVE_CRYPT_H  
 #include <crypt.h>  
 #endif  
   
 #include <version.h>  #include <version.h>
 #include <global.h>  #include <global.h>
 #include <object.h>  #include <object.h>
   
   #ifdef HAVE_DES_H
   #include <des.h>
   #else
   #  ifdef HAVE_CRYPT_H
   #  include <crypt.h>
   #  endif
   #endif
   
 #ifndef __CEXTRACT__  #ifndef __CEXTRACT__
 #include <sproto.h>  #include <sproto.h>
 #endif  #endif
Line 146
 
Line 150
   else    else
     s[0]= salt[0],      s[0]= salt[0],
     s[1]= salt[1];      s[1]= salt[1];
   #ifdef HAVE_DES_H
     return (char*)des_crypt(str,s);
   #else
   return (char*)crypt(str,s);    return (char*)crypt(str,s);
   #endif
 }  }
   
 int check_password(char *typed,char *crypted) {  int check_password(char *typed,char *crypted) {


Legend:
line(s) removed in v.1.14 
line(s) changed
 line(s) added in v.1.15

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:36