From 48fee8b9b7bb6548dee6571112dd0fd9cadf8f19 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Tue, 29 Aug 1995 18:46:17 +0000 Subject: [PATCH] Fix compilation errors git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6632 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/asn.1/ChangeLog | 6 ++++++ src/tests/asn.1/krb5_decode_test.c | 3 +-- src/tests/asn.1/trval.c | 2 -- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog index 7fcf5509e..182d78cd8 100644 --- a/src/tests/asn.1/ChangeLog +++ b/src/tests/asn.1/ChangeLog @@ -1,3 +1,9 @@ + +Tue Aug 29 14:20:52 EDT 1995 Paul Park (pjpark@mit.edu) + * krb5_decode_test.c - Fix string constant. + * trval.c - Remove definitions of malloc and realloc. They should come + in from stdlib.h. + Mon Aug 28 16:35:22 1995 * krb5_decode_test.c (main): Add tests for diff --git a/src/tests/asn.1/krb5_decode_test.c b/src/tests/asn.1/krb5_decode_test.c index 3120b04b2..f33b242d7 100644 --- a/src/tests/asn.1/krb5_decode_test.c +++ b/src/tests/asn.1/krb5_decode_test.c @@ -394,8 +394,7 @@ void main() /* decode_pwd_sequence */ { setup(krb5_alt_method,"krb5_alt_method",ktest_make_sample_alt_method); - decode_run("alt_method","","30 0F A0 03 02 01 2A A1 08 04 06 73 65 -63 72 65 74",decode_krb5_alt_method,ktest_equal_krb5_alt_method); + decode_run("alt_method","","30 0F A0 03 02 01 2A A1 08 04 06 73 65 63 72 65 74",decode_krb5_alt_method,ktest_equal_krb5_alt_method); ref.length = 0; decode_run("alt_method (no data)","","30 05 A0 03 02 01 2A",decode_krb5_alt_method,ktest_equal_krb5_alt_method); diff --git a/src/tests/asn.1/trval.c b/src/tests/asn.1/trval.c index 5e85bb813..15beb46f7 100644 --- a/src/tests/asn.1/trval.c +++ b/src/tests/asn.1/trval.c @@ -37,8 +37,6 @@ #include #include -extern char *malloc(), *realloc(); - #define OK 0 #define NOTOK (-1) -- 2.26.2