[BACK]Return to io.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/io.c between version 1.5 and 1.8

version 1.5, 2000/08/22 05:04:18 version 1.8, 2000/08/29 04:03:05
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM: OpenXM_contrib2/asir2000/io/io.c,v 1.4 2000/08/21 08:31:38 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/io/io.c,v 1.7 2000/08/25 08:06:19 noro Exp $
 */  */
 #include <stdio.h>  #include <stdio.h>
 #include "ca.h"  #include "ca.h"
Line 102  char *s;
Line 102  char *s;
         ox_copy_bptr = s;          ox_copy_bptr = s;
 }  }
   
   #if !defined(VISUAL)
 /*  /*
  * library mode functions   * library mode functions
  * byte order is controlled by lib_ox_need_conv.   * byte order is controlled by lib_ox_need_conv.
Line 126  VL vl;
Line 127  VL vl;
 {  {
         ox_do_copy = 1; savevl(0,vl); ox_do_copy = 0;          ox_do_copy = 1; savevl(0,vl); ox_do_copy = 0;
 }  }
   #endif
   
 int gen_fread (ptr,size,nitems,stream)  int gen_fread (ptr,size,nitems,stream)
 char *ptr;  char *ptr;
Line 215  unsigned int *p;
Line 217  unsigned int *p;
                 gen_fwrite(p,sizeof(unsigned int),1,f);                  gen_fwrite(p,sizeof(unsigned int),1,f);
 }  }
   
   #if defined(VISUAL) && defined(DES_ENC)
 int des_encryption;  int des_encryption;
 static unsigned char asir_deskey[8] = {0xc7,0xe0,0xfc,0xb5,0xc3,0xad,0x8e,0x3a};  static unsigned char asir_deskey[8] = {0xc7,0xe0,0xfc,0xb5,0xc3,0xad,0x8e,0x3a};
 static unsigned char deskey_string[96];  static unsigned char deskey_string[96];
Line 228  void init_deskey()
Line 231  void init_deskey()
                 deskey_initialized = 1;                  deskey_initialized = 1;
         }          }
 }  }
   #endif
   
 void write_intarray(f,p,l)  void write_intarray(f,p,l)
 FILE *f;  FILE *f;
Line 236  int l;
Line 240  int l;
 {  {
         int i;          int i;
         unsigned int t;          unsigned int t;
 #if defined(VISUAL)  #if defined(VISUAL) && defined(DES_ENC)
         int l2;          int l2;
         unsigned int plain[2],encrypted[2];          unsigned int plain[2],encrypted[2];
   
Line 345  int l;
Line 349  int l;
 {  {
         int i;          int i;
         unsigned int t;          unsigned int t;
 #if defined(VISUAL)  #if defined(VISUAL) && defined(DES_ENC)
         int l2;          int l2;
         unsigned int plain[2],encrypted[2];          unsigned int plain[2],encrypted[2];
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>