diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-12-09 20:12:59 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-12-09 20:13:35 +0100 |
commit | a9bb7ed3ac96b4f9b9e390fbfe1cf6b15577d07b (patch) | |
tree | 7cfa4625084411a17a0819005ea153a25f834936 | |
parent | e9d582b91afbc13937f431b053378c730759cee5 (diff) | |
download | gnutls-a9bb7ed3ac96b4f9b9e390fbfe1cf6b15577d07b.tar.gz |
provide imprecise time as gmt time.
-rw-r--r-- | lib/gnutls_handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c index 1f64865876..c5baebf7cf 100644 --- a/lib/gnutls_handshake.c +++ b/lib/gnutls_handshake.c @@ -204,7 +204,7 @@ static int _gnutls_tls_create_random(uint8_t * dst) _gnutls_write_uint32(tim, dst); ret = - _gnutls_rnd(GNUTLS_RND_NONCE, &dst[4], GNUTLS_RANDOM_SIZE - 4); + _gnutls_rnd(GNUTLS_RND_NONCE, &dst[3], GNUTLS_RANDOM_SIZE - 3); if (ret < 0) { gnutls_assert(); return ret; |