PROTOTYPE((const krb5_data *,
krb5_const_principal,
const krb5_address *,
- krb5_tkt_authent * ));
+ krb5_tkt_authent ** ));
krb5_error_code krb5_mk_rep
PROTOTYPE((const krb5_ap_rep_enc_part *,
const krb5_keyblock *,
krb5_error_code krb5_rd_rep
PROTOTYPE((const krb5_data *,
const krb5_keyblock *,
- krb5_ap_rep_enc_part *));
+ krb5_ap_rep_enc_part **));
krb5_error_code krb5_mk_error
PROTOTYPE((const krb5_error *,
krb5_data * ));
krb5_error_code krb5_rd_error
PROTOTYPE((const krb5_data *,
- krb5_error * ));
+ krb5_error ** ));
krb5_error_code krb5_rd_safe
PROTOTYPE((const krb5_data *,
const krb5_keyblock *,
const krb5_address *,
const krb5_address *,
krb5_int32, krb5_int32,
+ krb5_rcache,
krb5_data * ));
krb5_error_code krb5_rd_priv
PROTOTYPE((const krb5_data *,
const krb5_address *,
krb5_int32, krb5_int32,
krb5_pointer,
+ krb5_rcache,
krb5_data * ));
krb5_error_code krb5_parse_name
PROTOTYPE((const char *,
PROTOTYPE((const krb5_fulladdr *,
const krb5_fulladdr *));
krb5_error_code krb5_copy_keyblock
+ PROTOTYPE((const krb5_keyblock *,
+ krb5_keyblock **));
+krb5_error_code krb5_copy_keyblock_contents
PROTOTYPE((const krb5_keyblock *,
krb5_keyblock *));
krb5_error_code krb5_copy_creds
PROTOTYPE((krb5_pa_data **));
void krb5_free_ap_rep_enc_part
PROTOTYPE((krb5_ap_rep_enc_part *));
+void krb5_free_tkt_authent
+ PROTOTYPE((krb5_tkt_authent *));
#include <krb5/widen.h>
krb5_keyblock ** ),
krb5_pointer,
krb5_rcache,
- krb5_tkt_authent * ));
+ krb5_tkt_authent ** ));
krb5_error_code krb5_rd_req_decoded
PROTOTYPE((const krb5_ap_req *,
krb5_const_principal,
krb5_keyblock ** ),
krb5_pointer,
krb5_rcache,
- krb5_tkt_authent * ));
+ krb5_tkt_authent ** ));
krb5_error_code krb5_kt_read_service_key
PROTOTYPE((krb5_pointer,
#include <krb5/ext-proto.h>
-/* XXX Things that I need and don't know where to get yet */
#define KSUCCESS 0
krb5_error_code
if (kerror)
return(kerror);
- /*
- * This routine takes a krb5_keyblock **. Should it? I assume this
- * means that it is supposed allocate the key and return it...
- * XXX
- */
-
- if (!(*key = (krb5_keyblock *)malloc(sizeof(krb5_keyblock))))
- return (ENOMEM); /* XXX */
-
- krb5_copy_keyblock(&entry.key, *key);
+ krb5_copy_keyblock(&entry.key, key);
krb5_kt_free_entry(&entry);