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 7b02a365396eb1b7a62a16e675b8ddde70e6af66..37e6fe042f7a6c1aeb608454cc1c17fc767ef1be 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);
        }