warning for length used on strncpy

pull/4197/head
Jacob Barthelmeh 2021-07-08 15:51:17 +07:00
parent 263e03748e
commit 7bcd0da164
1 changed files with 1 additions and 1 deletions

View File

@ -16568,7 +16568,7 @@ static int EccKeyParamCopy(char** dst, char* src)
ret = BUFFER_E;
}
else {
XSTRNCPY(*dst, src, length);
XSTRNCPY(*dst, src, MAX_ECC_STRING);
}
XFREE(src, key->heap, DYNAMIC_TYPE_ECC_BUFFER);
#endif