Ver código fonte

We need non-const sshver

Source commit: 960afd0a70f13768ca0053f3ae017b9e0885ca6b
Martin Prikryl 9 anos atrás
pai
commit
99da8a2db0
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      source/putty/ssh.h

+ 5 - 1
source/putty/ssh.h

@@ -504,7 +504,11 @@ void aes_ssh2_decrypt_blk(void *handle, unsigned char *blk, int len);
 /*
  * PuTTY version number formatted as an SSH version string. 
  */
-extern const char sshver[];
+extern
+#ifndef MPEXT
+  const
+#endif
+  char sshver[];
 
 /*
  * Gross hack: pscp will try to start SFTP but fall back to scp1 if