From: Nikos Mavrogiannopoulos Date: Sat, 5 Mar 2011 09:56:19 +0000 (+0100) Subject: memcpy -> memmove. X-Git-Tag: gnutls_2_99_0~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e6fabd21e3e0eb5e28e3069af65845a91e2bfea;p=thirdparty%2Fgnutls.git memcpy -> memmove. --- diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c index 5952813340..64dbbd2e5f 100644 --- a/lib/gnutls_cipher.c +++ b/lib/gnutls_cipher.c @@ -612,7 +612,7 @@ _gnutls_ciphertext2compressed (gnutls_session_t session, if (compress_size < length) return gnutls_assert_val(GNUTLS_E_DECOMPRESSION_FAILED); - memcpy (compress_data, ciphertext.data, length); + memmove (compress_data, ciphertext.data, length); return length; }