summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/ec/ecp_smpl.c
diff options
context:
space:
mode:
authorPeter Bright <drpizza@quiscalusmexicanus.org>2011-08-20 06:05:08 +0100
committerRyan Dahl <ry@tinyclouds.org>2011-08-22 11:30:47 -0700
commit0110c90382f9a1e8f7aa3cc5388651ec2391a9a6 (patch)
tree3eb18a48aec4a14ccbd815362b7f414d448c16c9 /deps/openssl/openssl/crypto/ec/ecp_smpl.c
parente80cac622569dda0f6753b452ba3e5085a9d09e5 (diff)
downloadandroid-node-v8-0110c90382f9a1e8f7aa3cc5388651ec2391a9a6.tar.gz
android-node-v8-0110c90382f9a1e8f7aa3cc5388651ec2391a9a6.tar.bz2
android-node-v8-0110c90382f9a1e8f7aa3cc5388651ec2391a9a6.zip
Upgrade to 0.9.8r.
Build in Win32.
Diffstat (limited to 'deps/openssl/openssl/crypto/ec/ecp_smpl.c')
-rw-r--r--deps/openssl/openssl/crypto/ec/ecp_smpl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/openssl/openssl/crypto/ec/ecp_smpl.c b/deps/openssl/openssl/crypto/ec/ecp_smpl.c
index 4d26f8bdf6..66a92e2a90 100644
--- a/deps/openssl/openssl/crypto/ec/ecp_smpl.c
+++ b/deps/openssl/openssl/crypto/ec/ecp_smpl.c
@@ -1406,6 +1406,9 @@ int ec_GFp_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *
{
return EC_POINT_is_at_infinity(group, b) ? 0 : 1;
}
+
+ if (EC_POINT_is_at_infinity(group, b))
+ return 1;
if (a->Z_is_one && b->Z_is_one)
{