summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e04d426)
PR#3535
Reviewed-by: Stephen Henson <steve@openssl.org>
if (precision > 0)
{
/* Add fraction of seconds (leave space for dot and null). */
if (precision > 0)
{
/* Add fraction of seconds (leave space for dot and null). */
- BIO_snprintf(p, 2 + precision, ".%ld", usec);
+ BIO_snprintf(p, 2 + precision, ".%06ld", usec);
/* We cannot use the snprintf return value,
because it might have been truncated. */
p += strlen(p);
/* We cannot use the snprintf return value,
because it might have been truncated. */
p += strlen(p);