* Makefile.in (CFLAGS): Add -I options to pick up include files
authorJohn Gilmore <gnu@toad.com>
Thu, 26 Jan 1995 04:00:41 +0000 (04:00 +0000)
committerJohn Gilmore <gnu@toad.com>
Thu, 26 Jan 1995 04:00:41 +0000 (04:00 +0000)
from the various algorithm subdirs.
* cryptoconf.c, des-crc.c, des-md5.c, raw-des.c:  Replace most
<.../...> include files with "..." includes.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4846 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/Makefile.in
src/lib/crypto/cryptoconf.c
src/lib/crypto/des-crc.c
src/lib/crypto/des-md5.c
src/lib/crypto/raw-des.c

index 07ebbe0083e5aeeaa719b66969b3dc354b862ff5..cd272953029c3ecda6c11ec3e09163e62db99aac 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jan 25 19:55:59 1995  John Gilmore  (gnu at toad.com)
+
+       * Makefile.in (CFLAGS):  Add -I options to pick up include files
+       from the various algorithm subdirs.
+       * cryptoconf.c, des-crc.c, des-md5.c, raw-des.c:  Replace most
+       <.../...> include files with "..." includes.
+
 Tue Oct 18 15:46:01 1994  Mark Eichin  (eichin@cygnus.com)
 
        * des-crc.c (mit_des_crc_decrypt_func): cast key->key->contents to
index 02116375ff7b3cfa23cbb41ad5f6dad71086a3d4..054bff7d0a486aa6389dabbfe1965b55233deb63 100644 (file)
@@ -1,4 +1,4 @@
-CFLAGS = $(CCOPTS) $(DEFS)
+CFLAGS = $(CCOPTS) $(DEFS) -Icrc32 -Ides -Imd4 -Imd5
 LDFLAGS = -g
 
 TST=if test -n "`cat DONE`" ; then
index a59cc31715e9af2eb1f9b4844bd4fc81d747f853..f027b9438d5742a8c3d0fa5001ad60df09da843c 100644 (file)
  * Cryptosystem configurations
  */
 
-
-#include <krb5/config.h>
-#include <krb5/osconf.h>
-#include <krb5/krb5.h>
+#include "k5-int.h"
 
 #if defined(PROVIDE_DES_CBC_CRC) || defined(PROVIDE_CRC32)
-#include <krb5/crc-32.h>
+#include "crc-32.h"
 #define CRC32_CKENTRY &crc32_cksumtable_entry
 #else
 #define CRC32_CKENTRY 0
 #endif
 
 #ifdef PROVIDE_RSA_MD4
-#include <krb5/rsa-md4.h>
+#include "rsa-md4.h"
 #define MD4_CKENTRY &rsa_md4_cksumtable_entry
 #define MD4_DES_CKENTRY &rsa_md4_des_cksumtable_entry
 #else
@@ -61,7 +58,7 @@
 #endif
 
 #ifdef PROVIDE_DES_CBC_CKSUM
-#include <krb5/mit-des.h>
+#include "des_int.h"
 #define _DES_DONE__
 #define DES_CBC_CKENTRY &krb5_des_cbc_cksumtable_entry
 #else
@@ -70,7 +67,7 @@
 
 #ifdef PROVIDE_DES_CBC_CRC
 #ifndef _DES_DONE__
-#include <krb5/mit-des.h>
+#include "des_int.h"
 #define _DES_DONE__
 #endif
 #define DES_CBC_CRC_CSENTRY &krb5_des_crc_cst_entry
@@ -80,7 +77,7 @@
 
 #ifdef PROVIDE_DES_CBC_MD5
 #ifndef _DES_DONE__
-#include <krb5/mit-des.h>
+#include "des_int.h"
 #define _DES_DONE__
 #endif
 #define DES_CBC_MD5_CSENTRY &krb5_des_md5_cst_entry
@@ -90,7 +87,7 @@
     
 #ifdef PROVIDE_RAW_DES_CBC
 #ifndef _DES_DONE__
-#include <krb5/mit-des.h>
+#include "des_int.h"
 #define _DES_DONE__
 #endif
 #define RAW_DES_CBC_CSENTRY &krb5_raw_des_cst_entry
index 41258587cf092c38bc03689a21a3d7a0333949d1..51c6e24fc84ddb604915d7c93f12a7549f2b160b 100644 (file)
  * permission.  M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
  */
 
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
-#include <krb5/crc-32.h>
-
-#include "./des/des_int.h"
+#include "k5-int.h"
+#include "crc-32.h"
+#include "des_int.h"
 
 static krb5_error_code mit_des_crc_encrypt_func
     PROTOTYPE(( krb5_const_pointer, krb5_pointer, const size_t,
index 39adb11448c743b6cfe5ccc3d0c9ed394ba82886..cb811b73b8dfcd1ec243f6e78f5b72befb11d8c0 100644 (file)
  * permission.  M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
  */
 
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
+#include "k5-int.h"
 #include <krb5/rsa-md5.h>
-
-#include "./des/des_int.h"
+#include "des_int.h"
 
 static krb5_error_code mit_des_md5_encrypt_func
     PROTOTYPE(( krb5_const_pointer, krb5_pointer, const size_t,
index 254c8622364278ac032ce196d7c571f9f8a42e9e..9f710df96b8024442d6a2d86d20d9358781bbb55 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * lib/crypto/des-crc.32
+ * lib/crypto/raw-des.c
  *
- * Copyright 1994 by the Massachusetts Institute of Technology.
+ * Copyright 1994, 1995 by the Massachusetts Institute of Technology.
  * All Rights Reserved.
  *
  * Export of this software from the United States of America may
  * permission.  M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
  */
 
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
-#include <krb5/crc-32.h>
-
-#include "./des/des_int.h"
+#include "k5-int.h"
+#include "des_int.h"
 
 static krb5_error_code mit_raw_des_encrypt_func
     PROTOTYPE(( krb5_const_pointer, krb5_pointer, const size_t,
@@ -104,4 +99,3 @@ mit_raw_des_encrypt_func(in, out, size, key, ivec)
                                 ivec ? ivec : (krb5_pointer)key->key->contents,
                                 MIT_DES_ENCRYPT));
 }
-