提交 24a93e6c 编写于 作者: D Dr. Stephen Henson

In crypto/ec #if 0 out structures which reference (currently)
non existent functions because this breaks shared libraries.
上级 40e15f9d
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#include "ec_lcl.h" #include "ec_lcl.h"
#if 0
const EC_METHOD *EC_GFp_nist_method(void) const EC_METHOD *EC_GFp_nist_method(void)
{ {
static const EC_METHOD ret = { static const EC_METHOD ret = {
...@@ -95,6 +95,7 @@ const EC_METHOD *EC_GFp_nist_method(void) ...@@ -95,6 +95,7 @@ const EC_METHOD *EC_GFp_nist_method(void)
return &ret; return &ret;
} }
#endif
int ec_GFp_nist_group_init(EC_GROUP *group) int ec_GFp_nist_group_init(EC_GROUP *group)
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#include "ec_lcl.h" #include "ec_lcl.h"
#if 0
const EC_METHOD *EC_GFp_recp_method(void) const EC_METHOD *EC_GFp_recp_method(void)
{ {
static const EC_METHOD ret = { static const EC_METHOD ret = {
...@@ -95,7 +95,7 @@ const EC_METHOD *EC_GFp_recp_method(void) ...@@ -95,7 +95,7 @@ const EC_METHOD *EC_GFp_recp_method(void)
return &ret; return &ret;
} }
#endif
int ec_GFp_recp_group_init(EC_GROUP *group) int ec_GFp_recp_group_init(EC_GROUP *group)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册