Oops ...
authorBodo Möller <bodo@openssl.org>
Wed, 7 Mar 2001 01:41:20 +0000 (01:41 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 7 Mar 2001 01:41:20 +0000 (01:41 +0000)
crypto/ec/ec_lib.c

index 7b02a36..37e6fe0 100644 (file)
@@ -53,6 +53,8 @@
  *
  */
 
+#include <string.h>
+
 #include <openssl/err.h>
 
 #include "ec_lcl.h"
@@ -120,7 +122,7 @@ void EC_GROUP_clear_free(EC_GROUP *group)
                group->meth->group_clear_finish(group);
        else if (group->meth != NULL && group->meth->group_finish != 0)
                group->meth->group_finish(group);
-       memset(point, 0, sizeof *group);
+       memset(group, 0, sizeof *group);
        OPENSSL_free(group);
        }