• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

TLS/SSL and crypto library


コミットメタ情報

リビジョンa3b54f0f5de1ad17889fd23aee7c230eefc300cd (tree)
日時2019-09-12 08:08:27
作者Nicola Tuveri <nic.tuv@gmai...>
コミッターNicola Tuveri

ログメッセージ

Fix no-ec2m in ec_curve.c (1.1.0)

I made a mistake in d4a5dac9f9242c580fb9d0a4389440eccd3494a7 and
inverted the GF2m and GFp calls in ec_point_get_affine_coordinates, this
fixes it.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9873)

変更サマリ

差分

--- a/crypto/ec/ec_curve.c
+++ b/crypto/ec/ec_curve.c
@@ -3200,11 +3200,11 @@ int ec_point_get_affine_coordinates(const EC_GROUP *group,
32003200
32013201 #ifndef OPENSSL_NO_EC2M
32023202 if (field_nid == NID_X9_62_characteristic_two_field) {
3203- return EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx);
3203+ return EC_POINT_get_affine_coordinates_GF2m(group, point, x, y, ctx);
32043204 } else
32053205 #endif /* !def(OPENSSL_NO_EC2M) */
32063206 if (field_nid == NID_X9_62_prime_field) {
3207- return EC_POINT_get_affine_coordinates_GF2m(group, point, x, y, ctx);
3207+ return EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx);
32083208 } else {
32093209 /* this should never happen */
32103210 return 0;