mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
one less memcpy
This commit is contained in:
@@ -26042,7 +26042,7 @@ static int SetCaEx(byte* out, word32 outSz, byte isCa)
|
||||
XMEMCPY(out, caBasicConstASN1, sizeof(caBasicConstASN1));
|
||||
|
||||
if (!isCa) {
|
||||
XMEMCPY(out + (sizeof(caBasicConstASN1) - 1U), &isCa, sizeof(isCa));
|
||||
out[sizeof(caBasicConstASN1)-1] = isCa;
|
||||
}
|
||||
|
||||
return (int)sizeof(caBasicConstASN1);
|
||||
|
Reference in New Issue
Block a user