=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/io/io.c,v retrieving revision 1.4 retrieving revision 1.8 diff -u -p -r1.4 -r1.8 --- OpenXM_contrib2/asir2000/io/io.c 2000/08/21 08:31:38 1.4 +++ OpenXM_contrib2/asir2000/io/io.c 2000/08/29 04:03:05 1.8 @@ -23,7 +23,7 @@ * shall be made on your publication or presentation in any form of the * results obtained by use of the SOFTWARE. * (4) In the event that you modify the SOFTWARE, you shall notify FLL by - * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification + * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification * for such modification or the source code of the modified part of the * SOFTWARE. * @@ -44,7 +44,7 @@ * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. - * $OpenXM: OpenXM_contrib2/asir2000/io/io.c,v 1.3 2000/03/16 04:55:20 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/io/io.c,v 1.7 2000/08/25 08:06:19 noro Exp $ */ #include #include "ca.h" @@ -102,6 +102,7 @@ char *s; ox_copy_bptr = s; } +#if !defined(VISUAL) /* * library mode functions * byte order is controlled by lib_ox_need_conv. @@ -126,6 +127,7 @@ VL vl; { ox_do_copy = 1; savevl(0,vl); ox_do_copy = 0; } +#endif int gen_fread (ptr,size,nitems,stream) char *ptr; @@ -215,6 +217,7 @@ unsigned int *p; gen_fwrite(p,sizeof(unsigned int),1,f); } +#if defined(VISUAL) && defined(DES_ENC) int des_encryption; static unsigned char asir_deskey[8] = {0xc7,0xe0,0xfc,0xb5,0xc3,0xad,0x8e,0x3a}; static unsigned char deskey_string[96]; @@ -228,6 +231,7 @@ void init_deskey() deskey_initialized = 1; } } +#endif void write_intarray(f,p,l) FILE *f; @@ -236,7 +240,7 @@ int l; { int i; unsigned int t; -#if defined(VISUAL) +#if defined(VISUAL) && defined(DES_ENC) int l2; unsigned int plain[2],encrypted[2]; @@ -345,7 +349,7 @@ int l; { int i; unsigned int t; -#if defined(VISUAL) +#if defined(VISUAL) && defined(DES_ENC) int l2; unsigned int plain[2],encrypted[2];