summaryrefslogtreecommitdiff
path: root/lib/libssl
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
commit7323b52ac92c14d0c53efbb68a6c7942b8429ebb (patch)
tree0939ec6430a2ab319941ed1ec7c9649d9208434f /lib/libssl
parent3889bf853c5e9dee58b4bd465d0adc4afafb64af (diff)
Insert missing ABORT if EC_GROUP_copy() fails.
ok markus@
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/src/crypto/ec/ectest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/ec/ectest.c b/lib/libssl/src/crypto/ec/ectest.c
index 345d3e42892..fcf969f3cf0 100644
--- a/lib/libssl/src/crypto/ec/ectest.c
+++ b/lib/libssl/src/crypto/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;
}