+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
/*
* 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));
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));