]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Prototype encode_krb5_enc_tkt_part for aklog
authorAndrew Deason <adeason@sinenomine.net>
Mon, 19 Oct 2009 02:05:58 +0000 (21:05 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Mon, 19 Oct 2009 12:35:53 +0000 (05:35 -0700)
Prototype encode_krb5_enc_tkt_part in aklog_main.c, since it is a
private interface so we don't get a prototype from the krb5 headers.

Reviewed-on: http://gerrit.openafs.org/680
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/aklog/aklog_main.c

index 8cb91cbc1ad0b196f654a3f88cfa87ad5635aae2..54278f298a9285ccb75c6625048b2f03ee3edcc0 100644 (file)
@@ -185,6 +185,8 @@ static int get_user_realm(krb5_context, char *);
 #endif
 
 #if !defined(HAVE_KRB5_ENCRYPT_TKT_PART) && defined(HAVE_ENCODE_KRB5_ENC_TKT_PART) && defined(HAVE_KRB5_C_ENCRYPT) 
+extern krb5_error_code encode_krb5_enc_tkt_part (const krb5_enc_tkt_part *rep, krb5_data **code);
+
 krb5_error_code
 krb5_encrypt_tkt_part(krb5_context context,
                      const krb5_keyblock *key,