From d42d2d1ab6a558769d84f31b6c7088192f311b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Sat, 8 Feb 2003 19:49:16 +0000 Subject: [PATCH] avoid coredump Submitted by: Nils Larsch --- apps/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index d6f78fb5d4..df892c51fb 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -2051,7 +2051,7 @@ int MAIN(int argc, char **argv) } else { - ecdh_b[j]->group = ecdh_a[j]->group; + ecdh_b[j]->group = EC_GROUP_dup(ecdh_a[j]->group); /* generate two ECDH key pairs */ if (!EC_KEY_generate_key(ecdh_a[j]) ||