[Ttssh2-commit] [8424] 未使用コードを削除した

scmno****@osdn***** scmno****@osdn*****
2019年 11月 29日 (金) 00:03:52 JST


Revision: 8424
          https://osdn.net/projects/ttssh2/scm/svn/commits/8424
Author:   zmatsuo
Date:     2019-11-29 00:03:52 +0900 (Fri, 29 Nov 2019)
Log Message:
-----------
未使用コードを削除した

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/cipher-ctr.c

-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/cipher-ctr.c
===================================================================
--- trunk/ttssh2/ttxssh/cipher-ctr.c	2019-11-28 14:34:42 UTC (rev 8423)
+++ trunk/ttssh2/ttxssh/cipher-ctr.c	2019-11-28 15:03:52 UTC (rev 8424)
@@ -471,18 +471,6 @@
 	return (1);
 }
 
-void
-ssh_camellia_ctr_iv(EVP_CIPHER_CTX *evp, int doset, unsigned char * iv, unsigned int len)
-{
-	struct ssh_camellia_ctr_ctx *c;
-
-	if ((c = EVP_CIPHER_CTX_get_app_data(evp)) != NULL)
-		if(doset)
-			memcpy(c->camellia_counter, iv, len);
-		else
-			memcpy(iv, c->camellia_counter, len);
-}
-
 const EVP_CIPHER *
 evp_camellia_128_ctr(void)
 {


Ttssh2-commit メーリングリストの案内