Merge pull request #2946 from dgarske/gcc9

Fix for GCC9 warning
This commit is contained in:
Sean Parkinson 2020-05-05 10:29:56 +10:00 committed by GitHub
commit 09bc460c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4309,8 +4309,8 @@ enum ProvisionSide {
};
static const byte client[SIZEOF_SENDER] = { 0x43, 0x4C, 0x4E, 0x54 };
static const byte server[SIZEOF_SENDER] = { 0x53, 0x52, 0x56, 0x52 };
static const byte client[SIZEOF_SENDER+1] = { 0x43, 0x4C, 0x4E, 0x54, 0x00 }; /* CLNT */
static const byte server[SIZEOF_SENDER+1] = { 0x53, 0x52, 0x56, 0x52, 0x00 }; /* SRVR */
static const byte tls_client[FINISHED_LABEL_SZ + 1] = "client finished";
static const byte tls_server[FINISHED_LABEL_SZ + 1] = "server finished";