From: Nikos Mavrogiannopoulos Date: Sat, 28 Mar 2015 11:00:36 +0000 (+0100) Subject: fixed CHACHA20-POLY1305 in DTLS X-Git-Tag: gnutls_3_4_0~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd3a64f16a554737b1e7708355d24043003c2bcd;p=thirdparty%2Fgnutls.git fixed CHACHA20-POLY1305 in DTLS --- diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c index b98db6cae6..352dc288fb 100644 --- a/lib/gnutls_cipher.c +++ b/lib/gnutls_cipher.c @@ -587,7 +587,7 @@ ciphertext_to_compressed(gnutls_session_t session, ciphertext->size -= exp_iv_size; } else { memcpy(&nonce[imp_iv_size], - UINT64DATA(params->read.sequence_number), 8); + UINT64DATA(*sequence), 8); } length =