Skip to content
Commit 218f787e authored by Christopher Friedt's avatar Christopher Friedt Committed by Henrik Brix Andersen
Browse files

thrift: null-terminate certificates in samples and tests



The thrift methods loadCertificateFromBuffer(),
loadPrivateKeyFromBuffer(), and
loadTrustedCertificatesFromBuffer() expect a null-terminated
string.

Append '\0' to each array used to hold a certificate in
thrift samples and tests.

Signed-off-by: default avatarChristopher Friedt <cfriedt@meta.com>
parent 2fef763f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment