[Ttssh2-commit] [6574] 未使用変数の削除。

svnno****@sourc***** svnno****@sourc*****
2017年 1月 15日 (日) 15:49:41 JST


Revision: 6574
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6574
Author:   yutakapon
Date:     2017-01-15 15:49:41 +0900 (Sun, 15 Jan 2017)
Log Message:
-----------
未使用変数の削除。
コンパイル時の警告抑止のため。

Modified Paths:
--------------
    branches/openssl_1_1_0/ttssh2/ttxssh/key.c
    branches/openssl_1_1_0/ttssh2/ttxssh/keyfiles.c
    branches/openssl_1_1_0/ttssh2/ttxssh/ttxssh.c

-------------- next part --------------
Modified: branches/openssl_1_1_0/ttssh2/ttxssh/key.c
===================================================================
--- branches/openssl_1_1_0/ttssh2/ttxssh/key.c	2017-01-15 06:46:25 UTC (rev 6573)
+++ branches/openssl_1_1_0/ttssh2/ttxssh/key.c	2017-01-15 06:49:41 UTC (rev 6574)
@@ -1071,7 +1071,7 @@
 	RSA *rsa;
 	DSA *dsa;
 	BIGNUM *e = NULL, *n = NULL;
-	BIGNUM *p, *q, *g, *pub_key, *priv_key;
+	BIGNUM *p, *q, *g, *pub_key;
 
 	k = calloc(1, sizeof(Key));
 	if (k == NULL)

Modified: branches/openssl_1_1_0/ttssh2/ttxssh/keyfiles.c
===================================================================
--- branches/openssl_1_1_0/ttssh2/ttxssh/keyfiles.c	2017-01-15 06:46:25 UTC (rev 6573)
+++ branches/openssl_1_1_0/ttssh2/ttxssh/keyfiles.c	2017-01-15 06:49:41 UTC (rev 6574)
@@ -1043,7 +1043,7 @@
 	case KEY_RSA:
 	{
 		char *pubkey_type, *pub, *pri;
-		BIGNUM *e, *n, *d, *dmp1, *dmq1, *iqmp, *p, *q;
+		BIGNUM *e, *n, *d, *iqmp, *p, *q;
 
 		pub = pubkey->buf;
 		pri = prikey->buf;
@@ -1407,7 +1407,7 @@
 	switch (result->type) {
 	case KEY_RSA:
 	{
-		BIGNUM *e, *n, *d, *dmp1, *dmq1, *iqmp, *p, *q;
+		BIGNUM *e, *n, *d, *iqmp, *p, *q;
 
 		result->rsa = RSA_new();
 		if (result->rsa == NULL) {

Modified: branches/openssl_1_1_0/ttssh2/ttxssh/ttxssh.c
===================================================================
--- branches/openssl_1_1_0/ttssh2/ttxssh/ttxssh.c	2017-01-15 06:46:25 UTC (rev 6573)
+++ branches/openssl_1_1_0/ttssh2/ttxssh/ttxssh.c	2017-01-15 06:49:41 UTC (rev 6574)
@@ -4914,7 +4914,7 @@
 				char *uuenc; // uuencode data
 				int uulen;
 				BIGNUM *e, *n;
-				BIGNUM *p, *q, *g, *pub_key, *priv_key;
+				BIGNUM *p, *q, *g, *pub_key;
 
 				b = buffer_init();
 				if (b == NULL)



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