* kdc_preauth.c (get_preauth_hint_list): Log a message if preauth
is required but no preauth types are available.
(return_sam_data): Fix typo in figuring length of data to XOR when
- merging keys.
+ merging keys. Just return 0 if no input preauth data is
+ available.
2000-02-06 Ken Raeburn <raeburn@mit.edu>
krb5_sam_response *sr = 0;
krb5_predicted_sam_response *psr = 0;
+ if (in_padata == 0)
+ return 0;
+
/*
* We start by doing the same thing verify_sam_response() does:
* extract the psr from the padata (which is an sr). Nothing