summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2004-03-21 21:50:30 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2004-03-21 21:50:30 +0000
commit61d6d1c7886eb05246b0e39e21ca2f4f572376ee (patch)
tree9a8d3fef08ab5732ec4ca10a37d53663deae7169
parent6ce1b2784a9180bbb1d9569e1eb6a8d8020d2597 (diff)
Insert missing ABORT if EC_GROUP_copy() fails.
ok markus@
-rw-r--r--lib/libcrypto/ec/ectest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/ec/ectest.c b/lib/libcrypto/ec/ectest.c
index 345d3e42892..fcf969f3cf0 100644
--- a/lib/libcrypto/ec/ectest.c
+++ b/lib/libcrypto/ec/ectest.c
@@ -197,7 +197,7 @@ int main(int argc, char *argv[])
EC_GROUP *tmp;
tmp = EC_GROUP_new(EC_GROUP_method_of(group));
if (!tmp) ABORT;
- if (!EC_GROUP_copy(tmp, group));
+ if (!EC_GROUP_copy(tmp, group)) ABORT;
EC_GROUP_free(group);
group = tmp;
}