mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Add comment
This commit is contained in:
@ -130,7 +130,7 @@ int Base64_Decode(const byte* in, word32 inLen, byte* out, word32* outLen)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* If the output buffer has a room for an extra byte, add a null terminator */
|
||||||
if (out && *outLen > i)
|
if (out && *outLen > i)
|
||||||
out[i]= '\0';
|
out[i]= '\0';
|
||||||
|
|
||||||
@ -324,7 +324,7 @@ static int DoBase64_Encode(const byte* in, word32 inLen, byte* out,
|
|||||||
|
|
||||||
if (i != outSz && escaped != 1 && ret == 0)
|
if (i != outSz && escaped != 1 && ret == 0)
|
||||||
return ASN_INPUT_E;
|
return ASN_INPUT_E;
|
||||||
|
/* If the output buffer has a room for an extra byte, add a null terminator */
|
||||||
if (out && *outLen > i)
|
if (out && *outLen > i)
|
||||||
out[i]= '\0';
|
out[i]= '\0';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user