We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac4572f commit 2779d30Copy full SHA for 2779d30
1 file changed
examples/echoserver/echoserver.c
@@ -1809,6 +1809,7 @@ static char* LoadSshKey(const char* path)
1809
long length;
1810
const char* gretelKey = samplePublicKeyRsaBuffer;
1811
const char* hanselKey;
1812
+ long gretelLen;
1813
1814
/* Find where hansel's key starts (it's after gretel's key) */
1815
hanselKey = strstr(gretelKey + 1, "ssh-rsa");
@@ -1818,7 +1819,7 @@ static char* LoadSshKey(const char* path)
1818
1819
}
1820
1821
/* Calculate length of gretel's key portion */
- long gretelLen = hanselKey - gretelKey;
1822
+ gretelLen = hanselKey - gretelKey;
1823
1824
/* Read new key from file */
1825
file = fopen(path, "rb");
0 commit comments