[Ttssh2-commit] [7877] 単体テスト完了した箇所のコメントを除去した。

scmno****@osdn***** scmno****@osdn*****
2019年 7月 22日 (月) 22:35:32 JST


Revision: 7877
          https://osdn.net/projects/ttssh2/scm/svn/commits/7877
Author:   yutakapon
Date:     2019-07-22 22:35:32 +0900 (Mon, 22 Jul 2019)
Log Message:
-----------
単体テスト完了した箇所のコメントを除去した。
チケット #36876 

Ticket Links:
------------
    https://osdn.net/projects/ttssh2/tracker/detail/36876

Modified Paths:
--------------
    branches/openssl_1_1_1_v2/ttssh2/ttxssh/crypt.c
    branches/openssl_1_1_1_v2/ttssh2/ttxssh/kex.c
    branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c
    branches/openssl_1_1_1_v2/ttssh2/ttxssh/ssh.c

-------------- next part --------------
Modified: branches/openssl_1_1_1_v2/ttssh2/ttxssh/crypt.c
===================================================================
--- branches/openssl_1_1_1_v2/ttssh2/ttxssh/crypt.c	2019-07-22 02:02:40 UTC (rev 7876)
+++ branches/openssl_1_1_1_v2/ttssh2/ttxssh/crypt.c	2019-07-22 13:35:32 UTC (rev 7877)
@@ -338,7 +338,6 @@
 		encbufflen = bytes;
 	}
 
-	/********* OPENSSL1.1.1 NOTEST *********/
 	if (EVP_Cipher(pvar->evpcip[MODE_OUT], encbuff, buf, bytes) == 0) {
 		UTIL_get_lang_msg("MSG_ENCRYPT_ERROR2", pvar, "%s encrypt error(2)");
 		_snprintf_s(tmp, sizeof(tmp), _TRUNCATE, pvar->ts->UIMsg,
@@ -375,7 +374,6 @@
 		encbufflen = bytes;
 	}
 
-	/********* OPENSSL1.1.1 NOTEST *********/
 	if (EVP_Cipher(pvar->evpcip[MODE_IN], encbuff, buf, bytes) == 0) {
 		UTIL_get_lang_msg("MSG_DECRYPT_ERROR2", pvar, "%s decrypt error(2)");
 		_snprintf_s(tmp, sizeof(tmp), _TRUNCATE, pvar->ts->UIMsg,
@@ -685,7 +683,6 @@
 		goto error;
 	}
 
-	/********* OPENSSL1.1.1 NOTEST *********/
 	c = HMAC_CTX_new();
 	if (c == NULL)
 		goto error;
@@ -744,7 +741,6 @@
 		if (mac == NULL || mac->enabled == 0) 
 			return FALSE;
 
-		/********* OPENSSL1.1.1 NOTEST *********/
 		c = HMAC_CTX_new();
 		if (c == NULL)
 			return FALSE;

Modified: branches/openssl_1_1_1_v2/ttssh2/ttxssh/kex.c
===================================================================
--- branches/openssl_1_1_1_v2/ttssh2/ttxssh/kex.c	2019-07-22 02:02:40 UTC (rev 7876)
+++ branches/openssl_1_1_1_v2/ttssh2/ttxssh/kex.c	2019-07-22 13:35:32 UTC (rev 7877)
@@ -360,7 +360,6 @@
 	static unsigned char digest[EVP_MAX_MD_SIZE];
 	EVP_MD_CTX *md = NULL;
 
-	/********* OPENSSL1.1.1 NOTEST *********/
 	md = EVP_MD_CTX_new();
 	if (md == NULL)
 		goto error;

Modified: branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c
===================================================================
--- branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c	2019-07-22 02:02:40 UTC (rev 7876)
+++ branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c	2019-07-22 13:35:32 UTC (rev 7877)
@@ -85,7 +85,6 @@
                    u_char *signature, u_int signaturelen,
                    u_char *data, u_int datalen)
 {
-	/********* OPENSSL1.1.1 NOTEST *********/
 	DSA_SIG *sig;
 	const EVP_MD *evp_md = EVP_sha1();
 	EVP_MD_CTX *md = NULL;
@@ -95,7 +94,6 @@
 	char *ptr;
 	BIGNUM *r, *s;
 
-	/********* OPENSSL1.1.1 NOTEST *********/
 	md = EVP_MD_CTX_new();
 	if (md == NULL) {
 		ret = -1;

Modified: branches/openssl_1_1_1_v2/ttssh2/ttxssh/ssh.c
===================================================================
--- branches/openssl_1_1_1_v2/ttssh2/ttxssh/ssh.c	2019-07-22 02:02:40 UTC (rev 7876)
+++ branches/openssl_1_1_1_v2/ttssh2/ttxssh/ssh.c	2019-07-22 13:35:32 UTC (rev 7877)
@@ -6003,7 +6003,6 @@
 //
 static BOOL handle_SSH2_dh_gex_reply(PTInstVar pvar)
 {
-	/********* OPENSSL1.1.1 NOTEST *********/
 	char *data;
 	int len;
 	int offset = 0;


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