Add native MbedTLS crypto backend

This commit is contained in:
Cameron Gutman committed 2021-04-17 19:00:26 -05:00
1 parent d62ee951a0
commit 98d7ceecf7
3 files changed
+147 -1

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ static void inputSendThreadProc(void* context) {
else {
// Encrypt the message into the output buffer while leaving room for the length
encryptedSize = sizeof(encryptedBuffer) - 4;
err = encryptData((const unsigned char*)&holder->packet, holder->packetLength,
err = encryptData((unsigned char*)&holder->packet, holder->packetLength,
(unsigned char*)&encryptedBuffer[4], (int*)&encryptedSize);
free(holder);
if (err != 0) {