#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-
-#include <stdio.h>
-#include <stdlib.h>
+#include <krb5/ext-proto.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
#include <krb5/libos.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
-#include <errno.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
#include "ktfile.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
krb5_error_code
krb5_kt_add_entry (id, entry)
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <errno.h>
#include <stdio.h>
krb5_error_code krb5_kt_default(id)
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
krb5_error_code
krb5_kt_remove_entry (id, entry)
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
-#include <stdio.h>
/* XXX Things that I need and don't know where to get yet */
#define KSUCCESS 0
/*
* Get the name of the file that we should use.
*/
- if (keyprocarg == NULL) {
+ if (!keyprocarg) {
if ((kerror = krb5_kt_default_name((char *)keytabname,
sizeof(keytabname) - 1))!= KSUCCESS)
return (kerror);
* XXX
*/
- if ((*key = (krb5_keyblock *)malloc(sizeof(krb5_keyblock))) == NULL)
+ if (!(*key = (krb5_keyblock *)malloc(sizeof(krb5_keyblock))))
return (ENOMEM); /* XXX */
krb5_copy_keyblock(&entry.key, *key);
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
#endif /* !lint & !SABER */
#include <krb5/copyright.h>
-
#include <krb5/krb5.h>
-
#include <krb5/ext-proto.h>
-#include <errno.h>
-
/*
* Copy credentials, allocating fresh storage where needed.
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
/*
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
-
/*
* Copy a keyblock, including alloc'ed storage.
*/
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
#include <krb5/asn1.h>
-#include <errno.h>
-
#include <krb5/ext-proto.h>
/*
#include <krb5/krb5.h>
#include <krb5/asn1.h>
-#include <krb5/krb5_err.h>
-
-#include <errno.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/asn1.h>
-#include <errno.h>
-
#include <krb5/ext-proto.h>
/*
#include <krb5/krb5.h>
#include <krb5/asn1.h>
-#include <krb5/krb5_err.h>
-
-#include <errno.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
-
#include <krb5/ext-proto.h>
#include "int-proto.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/asn1.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#include "int-proto.h"
*/
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
krb5_error_code
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/asn1.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
-
-#include <errno.h>
#include <krb5/ext-proto.h>
/*
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
struct pwd_keyproc_arg {
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
#include <krb5/asn1.h> /* XXX for krb5_free_keyblock! */
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/asn1.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
/*
* Decrypt the encrypted portion of the KDC_REP message, using the key
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-
-#include <errno.h>
-
#include <krb5/asn1.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/asn1.h>
#include <krb5/libos.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
/*
Formats a KRB_AP_REQ message into outbuf, with more complete options than
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
#include <krb5/asn1.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
-#include <errno.h>
-
/*
converts a single-string representation of the name to the multi-part
principal format used in the protocols.
#include <krb5/krb5.h>
#include <krb5/asn1.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-
-#include <errno.h>
#include <krb5/asn1.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
#include <krb5/asn1.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
-
#include <krb5/ext-proto.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/asn1.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
-#include <errno.h>
-
#include <krb5/asn1.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
-
#include <krb5/asn1.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/asn1.h>
-#include <errno.h>
-
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
/*
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#include <krb5/kdb.h>
-#include <errno.h>
static krb5_data tgtdata = {sizeof(TGTNAME), TGTNAME};
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
-
/*
converts the multi-part
principal format used in the protocols to a single-string representation
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
#include "int-proto.h"
/* internal function, used by krb5_get_cred_from_kdc() */