Am 19.09.2014 um 11:25 schrieb Rainer Jung:
Am 18.09.2014 um 20:03 schrieb Salz, Rich:
The default time comes from the gettimeofday() system call (see
def_time_cb in ts_rsp_sign.c).
I don't see any openssl bug here.
It does, but I agree with the OP: the *textual formatting* of the
fractional
Am 18.09.2014 um 20:03 schrieb Salz, Rich:
The default time comes from the gettimeofday() system call (see def_time_cb in
ts_rsp_sign.c).
I don't see any openssl bug here.
It does, but I agree with the OP: the *textual formatting* of the
fractional second in ./crypto/ts/ts_rsp_sign.c is
Quick demonstration - doing a statistics on first
decimal place digit of large number of time-stamps:
- sample output:
...
### BEFORE:
0: 0% --- !
1:11%
2:11%
3:11%
4:10%
5:11%
6:11%
7:12%
8:12%
9:11%
### AFTER:
0:10%
1:10%
2:10%
3:10%
4:10%
5:10%
6:10%
7:10%
8:10%
9:10%
-
There is one missing step in the script above:
echo foo | openssl ts -query -out /tmp/x.tsq
(to be added e.g. below the EOF line)
Michal Bozon
__
OpenSSL Project http://www.openssl.org
[mailto:owner-openssl-
d...@openssl.org] On Behalf Of Michal Bozon via RT
Sent: Thursday, September 18, 2014 7:55 AM
Cc: openssl-dev@openssl.org
Subject: [openssl.org #3535] TS high-precision time malformation - demo
Quick demonstration - doing a statistics on first decimal place digit of large
Jeremy Farrell was kind enough off-list to provide me with a clue :) There is a
bug in openssl formatting.
:��IϮ��r�m
(Z+�7�zZ)���1���x��hW^��^��%�� ��jם.+-1�ځ��j:+v���h�