Revision: 7804 https://osdn.net/projects/ttssh2/scm/svn/commits/7804 Author: yutakapon Date: 2019-06-24 17:04:41 +0900 (Mon, 24 Jun 2019) Log Message: ----------- RSA構造体のメンバーアクセスが不可となったため、関数経由でのアクセスに変更した。 r7793の対応漏れ。 チケット #36876 Ticket Links: ------------ https://osdn.net/projects/ttssh2/tracker/detail/36876 Modified Paths: -------------- branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c -------------- next part -------------- Modified: branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c =================================================================== --- branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c 2019-06-24 08:01:24 UTC (rev 7803) +++ branches/openssl_1_1_1_v2/ttssh2/ttxssh/key.c 2019-06-24 08:04:41 UTC (rev 7804) @@ -802,7 +802,8 @@ RSA_get0_key(k->rsa, &n, NULL, NULL); return BN_num_bits(n); case KEY_RSA: - return BN_num_bits(k->rsa->n); + RSA_get0_key(k->rsa, &n, NULL, NULL); + return BN_num_bits(n); case KEY_DSA: DSA_get0_pqg(k->dsa, &p, NULL, NULL); return BN_num_bits(p);