We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2779d30 commit 46a0db5Copy full SHA for 46a0db5
1 file changed
examples/echoserver/echoserver.c
@@ -1809,7 +1809,7 @@ static char* LoadSshKey(const char* path)
1809
long length;
1810
const char* gretelKey = samplePublicKeyRsaBuffer;
1811
const char* hanselKey;
1812
- long gretelLen;
+ long gretelLen = (long)strlen(gretelKey);
1813
1814
/* Find where hansel's key starts (it's after gretel's key) */
1815
hanselKey = strstr(gretelKey + 1, "ssh-rsa");
0 commit comments