ktest_equal_sam_response
* ktest.c (ktest_make_sample_sam_response): Remove unused variable.
* krb5_decode_test.c, krb5_decode_test.c (main): Declare main as
int not void.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10506
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Mar 30 13:51:58 1998 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * ktest_equal.h: Add prototypes for ktest_equal_sam_challenge and
+ ktest_equal_sam_response
+
+ * ktest.c (ktest_make_sample_sam_response): Remove unused variable.
+
+ * krb5_decode_test.c, krb5_decode_test.c (main): Declare main as
+ int not void.
+
Wed Feb 18 16:27:56 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in: Remove trailing slash from thisconfigdir. Fix up
krb5_context test_context;
int error_count = 0;
-void main(argc, argv)
+int main(argc, argv)
int argc;
char **argv;
{
}
exit(error_count);
+ return(error_count);
}
krb5_context test_context;
int error_count = 0;
int do_trval = 0;
+int trval2();
void encoder_print_results(code, typestring, description)
krb5_data *code;
print_context_shortcut = 1;
}
-void main(argc, argv)
+int
+main(argc, argv)
int argc;
char **argv;
{
#endif
exit(error_count);
+ return(error_count);
}
krb5_error_code ktest_make_sample_sam_response(p)
krb5_sam_response * p;
{
- krb5_error_code retval;
-
p->magic = KV5M_SAM_RESPONSE;
p->sam_type = 42; /* information */
p->sam_flags = KRB5_SAM_USE_SAD_AS_KEY; /* KRB5_SAM_* values */
generic(ktest_equal_krb5_alt_method,krb5_alt_method);
generic(ktest_equal_krb5_pa_enc_ts,krb5_pa_enc_ts);
+generic(ktest_equal_sam_challenge,krb5_sam_challenge);
+generic(ktest_equal_sam_response,krb5_sam_response);
+
int ktest_equal_last_req
KRB5_PROTOTYPE((krb5_last_req_entry **ref, krb5_last_req_entry **var));
int ktest_equal_sequence_of_ticket