SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
security/cyrus-sasl2/patches/patch-plugins_cram_c
Normal file
14
security/cyrus-sasl2/patches/patch-plugins_cram_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
64-bit time_t
|
||||
|
||||
Index: plugins/cram.c
|
||||
--- plugins/cram.c.orig
|
||||
+++ plugins/cram.c
|
||||
@@ -135,7 +135,7 @@ static char *gettime(sasl_server_params_t *sparams)
|
||||
|
||||
/* the bottom bits are really the only random ones so if
|
||||
we overflow we don't want to loose them */
|
||||
- snprintf(ret,15,"%lu",t%(0xFFFFFF));
|
||||
+ snprintf(ret,15,"%lld",t%(0xFFFFFF));
|
||||
|
||||
return ret;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue