diff options
author | Ezra Peisach <epeisach@mit.edu> | 1996-03-03 17:25:22 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1996-03-03 17:25:22 +0000 |
commit | 3fe427eb4bdd9f86c1017502d4b33b62ca71ad5f (patch) | |
tree | fadacbc78a1ba290b93792792bbb6aafa6255a1f /src/appl/gss-sample | |
parent | 22989aac01fbb9ef98144b9634c302793ad969d6 (diff) | |
download | krb5-3fe427eb4bdd9f86c1017502d4b33b62ca71ad5f.zip krb5-3fe427eb4bdd9f86c1017502d4b33b62ca71ad5f.tar.gz krb5-3fe427eb4bdd9f86c1017502d4b33b62ca71ad5f.tar.bz2 |
* 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
Diffstat (limited to 'src/appl/gss-sample')
-rw-r--r-- | src/appl/gss-sample/ChangeLog | 5 | ||||
-rw-r--r-- | src/appl/gss-sample/gss-server.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/appl/gss-sample/ChangeLog b/src/appl/gss-sample/ChangeLog index 109d1aa..fabf639 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 <epeisach@kangaroo.mit.edu> + + * gss-server.c (test_import_export_context): Add second argument + to gettimeofday. + Sat Mar 2 03:03:27 1996 Theodore Y. Ts'o <tytso@dcl> * 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 8e7bc92..f87742b 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)); |