projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d5bd6c
)
Let EC_POINT_copy do nothing if dest==src
author
Bodo Möller
<bodo@openssl.org>
Thu, 8 Mar 2001 11:18:06 +0000
(11:18 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 8 Mar 2001 11:18:06 +0000
(11:18 +0000)
crypto/ec/ec_lib.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_lib.c
b/crypto/ec/ec_lib.c
index 8154a17eff21c308660c396723ef11f71086f1de..bef62961e16690e017c25335f9f0fc230c284c77 100644
(file)
--- a/
crypto/ec/ec_lib.c
+++ b/
crypto/ec/ec_lib.c
@@
-316,6
+316,8
@@
int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src)
ECerr(EC_F_EC_POINT_COPY, EC_R_INCOMPATIBLE_OBJECTS);
return 0;
}
+ if (dest == src)
+ return 1;
return dest->meth->point_copy(dest, src);
}