SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
27
security/heimdal/patches/patch-lib_krb5_test_rfc3961_c
Normal file
27
security/heimdal/patches/patch-lib_krb5_test_rfc3961_c
Normal file
|
@ -0,0 +1,27 @@
|
|||
%ld / (long)tv_sec -> %lld / (long long)tv_sec
|
||||
|
||||
--- lib/krb5/test_rfc3961.c.orig Sun Dec 9 23:06:44 2012
|
||||
+++ lib/krb5/test_rfc3961.c Thu Apr 24 14:11:12 2014
|
||||
@@ -77,9 +77,9 @@ time_encryption(krb5_context context, size_t size,
|
||||
|
||||
timevalsub(&tv2, &tv1);
|
||||
|
||||
- printf("%s size: %7lu iterations: %d time: %3ld.%06ld\n",
|
||||
+ printf("%s size: %7lu iterations: %d time: %3lld.%06ld\n",
|
||||
etype_name, (unsigned long)size, iterations,
|
||||
- (long)tv2.tv_sec, (long)tv2.tv_usec);
|
||||
+ (long long)tv2.tv_sec, tv2.tv_usec);
|
||||
|
||||
free(buf);
|
||||
free(etype_name);
|
||||
@@ -122,8 +122,8 @@ time_s2k(krb5_context context,
|
||||
|
||||
timevalsub(&tv2, &tv1);
|
||||
|
||||
- printf("%s string2key %d iterations time: %3ld.%06ld\n",
|
||||
- etype_name, iterations, (long)tv2.tv_sec, (long)tv2.tv_usec);
|
||||
+ printf("%s string2key %d iterations time: %3lld.%06ld\n",
|
||||
+ etype_name, iterations, (long long)tv2.tv_sec, tv2.tv_usec);
|
||||
free(etype_name);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue