[Ttssh2-commit] [5430] OpenSSL バージョンの取得方法を変更した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2013年 11月 24日 (日) 01:29:17 JST


Revision: 5430
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5430
Author:   yutakapon
Date:     2013-11-24 01:29:16 +0900 (Sun, 24 Nov 2013)
Log Message:
-----------
OpenSSL バージョンの取得方法を変更した。

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

-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/ttxssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ttxssh.c	2013-11-23 14:01:20 UTC (rev 5429)
+++ trunk/ttssh2/ttxssh/ttxssh.c	2013-11-23 16:29:16 UTC (rev 5430)
@@ -61,7 +61,6 @@
 #include <Lmcons.h>
 
 // include OpenSSL header file
-#include <openssl/opensslv.h>
 #include <openssl/evp.h>
 #include <openssl/rsa.h>
 #include <openssl/dsa.h>
@@ -2361,11 +2360,8 @@
 
 	// OpenSSL\x82̃o\x81[\x83W\x83\x87\x83\x93\x82\xF0\x90ݒ肷\x82\xE9 (2005.1.24 yutaka)
 	// \x8F\xF0\x8C\x8F\x95\xB6\x92lj\xC1 (2005.5.11 yutaka)
-#ifdef OPENSSL_VERSION_TEXT
-	SendMessage(GetDlgItem(dlg, IDC_OPENSSL_VERSION), WM_SETTEXT, 0, (LPARAM)OPENSSL_VERSION_TEXT);
-#else
-	SendMessage(GetDlgItem(dlg, IDC_OPENSSL_VERSION), WM_SETTEXT, 0, (LPARAM)"Unknown");
-#endif
+	// OPENSSL_VERSION_TEXT \x83}\x83N\x83\x8D\x92\xE8\x8B`\x82ł͂Ȃ\xAD\x81A\x8A֐\x94\x82\xF0\x8Eg\x82\xC1\x82ăo\x81[\x83W\x83\x87\x83\x93\x82\xF0\x8E擾\x82\xB7\x82\xE9\x81B(2013.11.24 yutaka)
+	SendMessage(GetDlgItem(dlg, IDC_OPENSSL_VERSION), WM_SETTEXT, 0, (LPARAM)SSLeay_version(SSLEAY_VERSION));
 
 	// zlib\x82̃o\x81[\x83W\x83\x87\x83\x93\x82\xF0\x90ݒ肷\x82\xE9 (2005.5.11 yutaka)
 #ifdef ZLIB_VERSION



Ttssh2-commit メーリングリストの案内
Back to archive index