* Removed all narrow types and references to wide.h and narrow.h
authorChris Provenzano <proven@mit.edu>
Wed, 25 Jan 1995 22:29:07 +0000 (22:29 +0000)
committerChris Provenzano <proven@mit.edu>
Wed, 25 Jan 1995 22:29:07 +0000 (22:29 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4837 dc483132-0cff-0310-8789-dd5450dbe970

27 files changed:
src/admin/edit/ChangeLog
src/admin/edit/kdb5_edit.h
src/appl/bsd/ChangeLog
src/appl/bsd/krcp.c
src/appl/user_user/ChangeLog
src/appl/user_user/client.c
src/kadmin/client/ChangeLog
src/kadmin/client/kadmin_msnd.c
src/kadmin/kpasswd/ChangeLog
src/kadmin/kpasswd/kpasswd.c
src/kadmin/server/ChangeLog
src/kadmin/server/adm_funcs.c
src/kdc/ChangeLog
src/kdc/kdc_util.c
src/lib/crypto/des/ChangeLog
src/lib/crypto/des/des_int.h
src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/get_in_tkt.c
src/lib/krb5/krb/in_tkt_pwd.c
src/lib/krb5/krb/in_tkt_sky.c
src/lib/krb5/krb/int-proto.h
src/lib/krb5/krb/rd_req.c
src/lib/krb5/krb/rd_req_dec.c
src/tests/hammer/ChangeLog
src/tests/hammer/kdc5_hammer.c

index ef46f3b2be89973879b19d2648654aa5db3c6fab..71f9ec2300f0b17a536d8444e9b54555aa3c1584 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index 180249a3fa79efab1591212eb379ffb9ae310a4f..64658932c40691bde8afed94a17d236641297a40 100644 (file)
@@ -41,8 +41,6 @@ struct saltblock {
     krb5_data saltdata;
 };
 
-/* krb5_kvno may be narrow */
-#include <krb5/widen.h>
 void add_key 
        PROTOTYPE((char const *, char const *, 
                   krb5_const_principal, const krb5_keyblock *, 
@@ -53,5 +51,4 @@ void enter_pwd_key
 int set_dbname_help
        PROTOTYPE((char *, char *));
 
-#include <krb5/narrow.h>
 char *kdb5_edit_Init PROTOTYPE((int, char **));
index b7bbfe44cb03918b1e296069ca6ec8ca90b0a571..e8059e3c0b26d46367ba85143e1cb9feb216aea6 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Wed Jan 18 14:33:50 1995  Mark Eichin  <eichin@cygnus.com>
 
        * krlogind.c (v4_des_read, v5_des_read): When reading length,
index d8bf15dcd15c79c81494eb91337f9ab9eee57d20..e8fe82c8b925a002fb444e72d196507fdd198995 100644 (file)
@@ -1144,14 +1144,12 @@ char **save_argv(argc, argv)
 #define SIZEOF_INADDR sizeof(struct in_addr)
 #endif
 
-#include <krb5/widen.h>    
 krb5_error_code tgt_keyproc(context, keyprocarg, principal, vno, key)
      krb5_context context;
      krb5_pointer keyprocarg;
      krb5_principal principal;
      krb5_kvno vno;
      krb5_keyblock ** key;
-#include <krb5/narrow.h>
 {
     krb5_creds *creds = (krb5_creds *)keyprocarg;
     
index 8707c6a382125ee8a05e12994c6e5f9dbec9b06d..f9121180f60e1c4e5737a513530f0f08fabd47fb 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index be2aee27a60f9af779af55bc3773a2c915de0a5a..956e9c71c751dfeaabb37acef8b1859881162d9a 100644 (file)
@@ -37,7 +37,6 @@
 #include <krb5/los-proto.h>
 #include <com_err.h>
 
-#include <krb5/widen.h>
 krb5_error_code
 tgt_keyproc(context, keyprocarg, principal, vno, key)
     krb5_context context;
@@ -45,7 +44,6 @@ tgt_keyproc(context, keyprocarg, principal, vno, key)
     krb5_principal principal;
     krb5_kvno vno;
     krb5_keyblock ** key;
-#include <krb5/narrow.h>
 {
     krb5_creds *creds = (krb5_creds *)keyprocarg;
     
index c3b2e6745f367e56fcc16463c28bd2e598589b4d..f3fcf908f84dc5242be3f59231442c30efa9a300 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index c46ad69a59a4a1b13281653cc3fe3c16d2987711..adb3461e42cd3dc76b130f2a469a772bc5da8a72 100644 (file)
@@ -46,9 +46,6 @@
 #include <krb5/config.h>
 #include <krb5/base-defs.h>
 #include <krb5/asn.1/encode.h>
-
-#include <krb5/widen.h>
-
 #include <krb5/adm_err.h>
 #include <krb5/errors.h>
 #include <krb5/kdb5_err.h>
index 4dded80ee115710214e2bd8b60b30bcd81408109..9754a4b1e9f2c21261d29727f6c549a62dbf5f26 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index de57f442a212c0d098e1e8efb33056a87b01b88a..93fe82d8d2176b5c6c102bc7cd3f110f621fbea4 100644 (file)
@@ -49,9 +49,6 @@
 #include <krb5/config.h>
 #include <krb5/base-defs.h>
 #include <krb5/asn.1/encode.h>
-
-#include <krb5/widen.h>
-
 #include <krb5/adm_err.h>
 #include <krb5/errors.h>
 #include <krb5/kdb5_err.h>
index 4e3c0abffb100898d64a683c1eb2bddb25096444..2f4fdefc3879082ae61c3c99b999f5532ba2fd08 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Wed Jan 18 10:26:30 1995    <tytso@rsx-11.mit.edu>
 
        * adm_server.c (process_args): Modify getopt args so that the 'M'
index 1f8a3ff2aacd1ac6d1830645c34ca8c2f03134bd..6951954b086e8270ce29964acadbe0064fd6e921 100644 (file)
@@ -62,9 +62,6 @@ extern krb5_keyblock master_keyblock;
 
 typedef unsigned char des_cblock[8];
 
-               /* krb5_kvno may be narrow */
-#include <krb5/widen.h>
-
 krb5_error_code adm_get_rnd_key PROTOTYPE((char *,
                        krb5_ticket *,
                        krb5_authenticator *,
@@ -84,8 +81,6 @@ static krb5_error_code adm_modify_kdb
                   struct saltblock *,
                   krb5_db_entry *));
 
-#include <krb5/narrow.h>
-
 
 krb5_kvno
 adm_princ_exists(context, cmdname, principal, entry, nprincs)
index f793d222646ecca58cce16bca82f3afe1f53085a..8abd67adb4f05abc0325296e2186a15c70bf083c 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index bc09ee96d593e290aa0de29e3f320ad6c64f4fcc..0ea5b8824a4e8c5ce1f60a5b27e8f4c352af2ce5 100644 (file)
@@ -112,8 +112,6 @@ struct kparg {
  * krb5_rd_req_decoded, there's no reason to do it here, so we ignore the
  * "principal" argument.
  */
-
-#include <krb5/widen.h>
 static krb5_error_code
 kdc_rdreq_keyproc(context, keyprocarg, principal, vno, key)
     krb5_context context;
@@ -121,7 +119,6 @@ kdc_rdreq_keyproc(context, keyprocarg, principal, vno, key)
     krb5_principal principal;
     krb5_kvno vno;
     krb5_keyblock ** key;
-#include <krb5/narrow.h>
 {
     register struct kparg *whoisit = (struct kparg *)keyprocarg;
     char       *sname;
index fb9ebd6a9caa4711d7db40642eb104875f646095..431586bf5c9fb42d3c1b63d3a6be04c247700218 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Nov 18 16:20:10 1994  Theodore Y. Ts'o  (tytso@dcl)
 
        * destest.c (main): Add magic numbers to keyblock structure.
index cc5762a355504bcb7a858cf5bb78007425b1320a..ac922ae196ab8f534f86e2a1071f51979c1f83f7 100644 (file)
@@ -103,10 +103,6 @@ typedef struct {
 }       sbox_out;
 #endif /*BITS32*/
 
-
-/* widen prototypes, if needed */
-#include <krb5/widen.h>
-
 /* cbc_cksum.c */
 extern krb5_error_code mit_des_cbc_checksum
     PROTOTYPE((krb5_pointer, size_t,krb5_pointer,size_t, krb5_checksum * ));
@@ -194,7 +190,4 @@ extern unsigned long swap_long_bytes_bit_number PROTOTYPE((unsigned long ));
 extern void test_set PROTOTYPE((FILE *, const char *, int, const char *, int));
 #endif
 
-/* and back to normal... */
-#include <krb5/narrow.h>
-
 #endif /*DES_INTERNAL_DEFS*/
index 91c2d96517b3e89305f4fcaa7ca3f385bf5fa7cb..526effdb5a66a2f5fe87303b36e78f290ce96320 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Sun Jan 22 18:26:32 1995  John Gilmore  (gnu at toad.com)
 
        * acquire_cred.c (acquire_accept_cred):  Add context arg when
index c6e2dc47b1451b63a0e132a8204167292d5c0802..56dce2f12ef48ede37a9d8d5c20da6145849a690 100644 (file)
@@ -24,7 +24,6 @@
 #include <krb5/rsa-md5.h>
 #include <memory.h>
 
-#include <krb5/widen.h>
 static krb5_error_code 
 rd_req_keyproc(context, keyprocarg, server, kvno, keyblock)
      krb5_context context;
@@ -32,7 +31,6 @@ rd_req_keyproc(context, keyprocarg, server, kvno, keyblock)
      krb5_principal server;
      krb5_kvno kvno;
      krb5_keyblock **keyblock;
-#include <krb5/narrow.h>
 {
    krb5_error_code code;
    krb5_keytab_entry ktentry;
index ea7c50abeb829f4f9fc3e68b56e1a1e9d0c28208..6a4d7b6f7646ac242ca8e00b9c2541be94aa6e14 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+       * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index 2cb128c8b5954fa114d70e739cd046fb9be7514b..de17523ce167b05ae9b2c37da9bbb86594e53c47 100644 (file)
@@ -65,14 +65,11 @@ extern krb5_deltat krb5_clockskew;
 
 /* some typedef's for the function args to make things look a bit cleaner */
 
-/* widen this prototype if need be */
-#include <krb5/widen.h>
 typedef krb5_error_code (*git_key_proc) PROTOTYPE((krb5_context,
                                                   const krb5_keytype,
                                                   krb5_keyblock **,
                                                   krb5_const_pointer,
                                                   krb5_pa_data **));
-#include <krb5/narrow.h>
 
 typedef krb5_error_code (*git_decrypt_proc) PROTOTYPE((krb5_context,
                                                       const krb5_keyblock *,
index 2258f89ce1547059a6aa374d526afb4158780121..9bbb033e7b1aeda443fee160fa30327a44b78fa0 100644 (file)
@@ -40,7 +40,6 @@ extern char *krb5_default_pwd_prompt1;
  * key-producing procedure for use by krb5_get_in_tkt_with_password.
  */
 
-#include <krb5/widen.h>
 static krb5_error_code
 pwd_keyproc(context, type, key, keyseed, padata)
     krb5_context context;
@@ -48,7 +47,6 @@ pwd_keyproc(context, type, key, keyseed, padata)
     krb5_keyblock ** key;
     krb5_const_pointer keyseed;
     krb5_pa_data ** padata;
-#include <krb5/narrow.h>
 {
     krb5_data salt;
     krb5_error_code retval;
index 26b194723b61853da2734871c738d9374f049371..cc9a89bc3dcc3754b941c60da22615a093fb24e5 100644 (file)
@@ -40,15 +40,12 @@ struct skey_keyproc_arg {
  * "keyseed" is actually a krb5_keyblock *, or NULL if we should fetch
  * from system area.
  */
-#include <krb5/widen.h>
-static krb5_error_code
 skey_keyproc(context, type, key, keyseed, padata)
     krb5_context context;
     const krb5_keytype type;
     krb5_keyblock ** key;
     krb5_const_pointer keyseed;
     krb5_pa_data ** padata;
-#include <krb5/narrow.h>
 {
     krb5_keyblock *realkey;
     const struct skey_keyproc_arg *arg;
index 9a264a3df45199c1b4a0711387a53267570b1684..84fd4ccf20e2d075ad24a19ef1f34af9355083f3 100644 (file)
@@ -27,8 +27,6 @@
 
 #ifndef KRB5_INT_FUNC_PROTO__
 #define KRB5_INT_FUNC_PROTO__
-/* widen prototypes, if needed */
-#include <krb5/widen.h>
 
 krb5_error_code krb5_tgtname
     PROTOTYPE((krb5_context context,
@@ -42,8 +40,6 @@ krb5_error_code krb5_get_cred_via_tgt
               const krb5_enctype,
               const krb5_cksumtype,
               krb5_creds * ));
-/* and back to normal... */
-#include <krb5/narrow.h>
 
 #endif /* KRB5_INT_FUNC_PROTO__ */
 
index 5ec3758cfc349962a3d633bb899afcaf27722a23..6b2d085183ed8d62250c9bcf7b7e27d504306eee 100644 (file)
  *  returns system errors, encryption errors, replay errors
  */
 
-/* widen prototypes, if needed */
-#include <krb5/widen.h>
 typedef krb5_error_code (*rdreq_key_proc) PROTOTYPE((krb5_pointer, 
                                                     krb5_principal,
                                                     krb5_kvno,
                                                     krb5_keyblock **));
-/* and back to normal... */
-#include <krb5/narrow.h>
 
 krb5_error_code
 krb5_rd_req(context, inbuf, server, sender_addr, fetchfrom, keyproc, 
index 463970763cf412108210ddf00213a0ba34a423f0..cad8f99b838b7c5207fbc9210ca75f74de533e21 100644 (file)
  *  returns system errors, encryption errors, replay errors
  */
 
-/* widen prototypes, if needed */
-#include <krb5/widen.h>
-
 static krb5_error_code decrypt_authenticator
        PROTOTYPE((krb5_context, const krb5_ap_req *, krb5_authenticator **));
 typedef krb5_error_code (*rdreq_key_proc)
        PROTOTYPE((krb5_context, krb5_pointer, krb5_principal,
                   krb5_kvno, krb5_keyblock **));
 
-/* and back to normal... */
-#include <krb5/narrow.h>
-
 extern krb5_deltat krb5_clockskew;
 #define in_clock_skew(date) (abs((date)-currenttime) < krb5_clockskew)
 
index eb780f9db616b3a6cdd1044114da5e75e3cd0fd8..6a0e60fb83e110d5f90309ddb9f92d0ab6168689 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
+
+        * Removed all narrow types and references to wide.h and narrow.h
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index d7b0239a17a17a8299fb56677472ac1dcf35b11d..51bf4c2f7b4d7d9cbe361870945b32f82fe50b04 100644 (file)
@@ -259,15 +259,13 @@ main(argc, argv)
     fprintf (stderr, "\nTried %d.  Got %d errors.\n", n_tried, errors);
   }
 
-       
-#include <krb5/widen.h>
+
 krb5_error_code get_server_key(context, keyprocarg, princ, vno, key)
     krb5_context context;
     krb5_pointer keyprocarg;
     krb5_principal princ;
     krb5_kvno vno;
     krb5_keyblock ** key;
-#include <krb5/narrow.h>
 {
   krb5_encrypt_block eblock;
   krb5_data pwd, salt;