Moved KRB5_TGS_NAME to krb5.h, from base-defs.h (where it didn't belong)
authorTheodore Tso <tytso@mit.edu>
Wed, 1 Dec 1993 21:54:02 +0000 (21:54 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 1 Dec 1993 21:54:02 +0000 (21:54 +0000)
Added flag argument to krb5_recvauth()

Removed declaration of two internal routines (krb5_generate_authenticator and
find_preauthenticator).

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

src/include/krb5/base-defs.h
src/include/krb5/func-proto.h
src/include/krb5/krb5.h
src/include/krb5/preauth.h

index 9d285e7e7d955b37479e4c7dad92968d848756e9..f6810b8e59991aad4fb34f08a711cca6862c7299 100644 (file)
@@ -142,8 +142,4 @@ typedef const krb5_principal_data *krb5_const_principal;
 #define        krb5_princ_name(princ) (princ)->data
 #define        krb5_princ_component(princ,i) ((princ)->data + i)
 
-/* The name of the Kerberos ticket granting service... and its size */
-#define        KRB5_TGS_NAME           "krbtgt"
-#define KRB5_TGS_NAME_SIZE     6
-
 #endif /* KRB5_BASE_DEFS__ */
index d1541fcc77048124e223bb573b2c9371d66d082d..950e676e6872fe62dc639bdbb90500478f6cfab3 100644 (file)
@@ -438,17 +438,13 @@ krb5_error_code krb5_recvauth PROTOTYPE((krb5_pointer,
                                         krb5_rdreq_key_proc,
                                         krb5_pointer,
                                         char *,
+                                        krb5_int32, 
                                         krb5_int32 *,
                                         krb5_principal*,
                                         krb5_ticket **,
                                         krb5_authenticator **));
 
 
-krb5_error_code  
-krb5_generate_authenticator PROTOTYPE(( krb5_authenticator *, krb5_principal,
-                                      const krb5_checksum *, krb5_keyblock *,
-                                      krb5_int32, krb5_authdata ** ));
-
 #ifdef NARROW_PROTOTYPES
 krb5_error_code krb5_walk_realm_tree
     PROTOTYPE((const krb5_data *,
index 15a4bddcc724185e0027a8f3438b25964768d7ac..7c3c223798c11b949d4b5d44356340862c8b94e6 100644 (file)
@@ -285,4 +285,12 @@ typedef struct _krb5_pwd_data {
     passwd_phrase_element **element;
 } krb5_pwd_data;
 
+/* The name of the Kerberos ticket granting service... and its size */
+#define        KRB5_TGS_NAME           "krbtgt"
+#define KRB5_TGS_NAME_SIZE     6
+
+/* flags for recvauth */
+#define KRB5_RECVAUTH_SKIP_VERSION     0x0001
+#define KRB5_RECVAUTH_BADAUTHVERS      0x0002
+
 #endif /* KRB5_GENERAL__ */
index 34164f5c532549df0a358c5a6e273410253efc5b..fe24ac8f1d8541359c8bba5e178e74ee036b2a29 100644 (file)
@@ -53,9 +53,6 @@ typedef struct _krb5_preauth_ops {
 #define KRB5_PREAUTH_FLAGS_ENCRYPT     0x00000001
 #define KRB5_PREAUTH_FLAGS_HARDWARE    0x00000002
 
-krb5_error_code find_preauthenticator
-    PROTOTYPE((int type, krb5_preauth_ops **Preauth_proc));
-
 #if 0
 krb5_error_code get_random_padata
     PROTOTYPE((krb5_principal client, krb5_address **src_addr,