Ver código fonte

call_sha1_key_internal (introduced in 4.2.4) was never used

Source commit: 678d9b9992d6b8babfcf0f53bbc7187df38c5c20
Martin Prikryl 6 anos atrás
pai
commit
f5fa7d09bb
2 arquivos alterados com 0 adições e 15 exclusões
  1. 0 4
      source/putty/puttyexp.h
  2. 0 11
      source/putty/sshsha.c

+ 0 - 4
source/putty/puttyexp.h

@@ -72,10 +72,6 @@ void call_aes_decrypt(void * ctx, unsigned int * block);
 void call_aes_sdctr(unsigned char *blk, int len, void *ctx);
 void aes_iv(void *handle, unsigned char *iv);
 
-// from sshsha.c
-
-void call_sha1_key_internal(void * handle, unsigned char * key, int len);
-
 // from winmisc.c
 
 void win_misc_cleanup();

+ 0 - 11
source/putty/sshsha.c

@@ -456,14 +456,3 @@ const struct ssh_mac ssh_hmac_sha1_96_buggy = {
     12, 16,
     "bug-compatible HMAC-SHA1-96"
 };
-
-#ifdef MPEXT
-
-#include "puttyexp.h"
-
-void call_sha1_key_internal(void * handle, unsigned char * key, int len)
-{
-  sha1_key_internal(handle, key, len);
-}
-
-#endif