From: Ezra Peisach Date: Sun, 3 Mar 1996 17:25:22 +0000 (+0000) Subject: * gss-server.c (test_import_export_context): Add second argument X-Git-Tag: krb5-1.0-beta6~415 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3fe427eb4bdd9f86c1017502d4b33b62ca71ad5f;p=krb5.git * gss-server.c (test_import_export_context): Add second argument to gettimeofday. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7585 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gss-sample/ChangeLog b/src/appl/gss-sample/ChangeLog index 109d1aa39..fabf63926 100644 --- a/src/appl/gss-sample/ChangeLog +++ b/src/appl/gss-sample/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 3 12:14:48 1996 Ezra Peisach + + * gss-server.c (test_import_export_context): Add second argument + to gettimeofday. + Sat Mar 2 03:03:27 1996 Theodore Y. Ts'o * gss-server.c (sign_server): Do better import/export security diff --git a/src/appl/gss-sample/gss-server.c b/src/appl/gss-sample/gss-server.c index 8e7bc9286..f87742b56 100644 --- a/src/appl/gss-sample/gss-server.c +++ b/src/appl/gss-sample/gss-server.c @@ -496,13 +496,13 @@ int test_import_export_context(context) /* * Attempt to save and then restore the context. */ - gettimeofday(&tm1); + gettimeofday(&tm1, (struct timezone *)0); maj_stat = gss_export_sec_context(&min_stat, context, &context_token); if (maj_stat != GSS_S_COMPLETE) { display_status("exporting context", maj_stat, min_stat); return 1; } - gettimeofday(&tm2); + gettimeofday(&tm2, (struct timezone *)0); if (verbose && log) fprintf(log, "Exported context: %d bytes, %7.4f seconds\n", context_token.length, timeval_subtract(&tm2, &tm1)); @@ -511,7 +511,7 @@ int test_import_export_context(context) display_status("importing context", maj_stat, min_stat); return 1; } - gettimeofday(&tm1); + gettimeofday(&tm1, (struct timezone *)0); if (verbose && log) fprintf(log, "Importing context: %7.4f seconds\n", timeval_subtract(&tm1, &tm2));