mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove(). [RT #35120]
This commit is contained in:
@@ -481,7 +481,7 @@ opensslrsa_sign(dst_context_t *dctx, isc_buffer_t *sig) {
|
||||
INSIST(prefixlen + digestlen <= sizeof(digest));
|
||||
|
||||
memmove(digest + prefixlen, digest, digestlen);
|
||||
memcpy(digest, prefix, prefixlen);
|
||||
memmove(digest, prefix, prefixlen);
|
||||
status = RSA_private_encrypt(digestlen + prefixlen,
|
||||
digest, r.base, rsa,
|
||||
RSA_PKCS1_PADDING);
|
||||
|
Reference in New Issue
Block a user