Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/key.cpp: In function ‘int ECDSA_SIG_recover_key_GFp(EC_KEY*, ECDSA_SIG*, const unsigned char*, int, int, int)’:
- src/key.cpp:81:28: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- if (!BN_add(x, x, ecsig->r)) { ret=-1; goto err; }
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:83:10: warning: ‘int EC_GROUP_get_curve_GFp(const EC_GROUP*, BIGNUM*, BIGNUM*, BIGNUM*, BN_CTX*)’ is deprecated (declared at /usr/local/include/openssl/ec.h:280) [-Wdeprecated-declarations]
- if (!EC_GROUP_get_curve_GFp(group, field, NULL, NULL, ctx)) { ret=-2; goto err; }
- ^
- src/key.cpp:83:62: warning: ‘int EC_GROUP_get_curve_GFp(const EC_GROUP*, BIGNUM*, BIGNUM*, BIGNUM*, BN_CTX*)’ is deprecated (declared at /usr/local/include/openssl/ec.h:280) [-Wdeprecated-declarations]
- if (!EC_GROUP_get_curve_GFp(group, field, NULL, NULL, ctx)) { ret=-2; goto err; }
- ^
- src/key.cpp:86:10: warning: ‘int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP*, EC_POINT*, const BIGNUM*, int, BN_CTX*)’ is deprecated (declared at /usr/local/include/openssl/ec.h:576) [-Wdeprecated-declarations]
- if (!EC_POINT_set_compressed_coordinates_GFp(group, R, x, recid % 2, ctx)) { ret=0; goto err; }
- ^
- src/key.cpp:86:77: warning: ‘int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP*, EC_POINT*, const BIGNUM*, int, BN_CTX*)’ is deprecated (declared at /usr/local/include/openssl/ec.h:576) [-Wdeprecated-declarations]
- if (!EC_POINT_set_compressed_coordinates_GFp(group, R, x, recid % 2, ctx)) { ret=0; goto err; }
- ^
- src/key.cpp:102:34: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- if (!BN_mod_inverse(rr, ecsig->r, order, ctx)) { ret=-1; goto err; }
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:104:31: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- if (!BN_mod_mul(sor, ecsig->s, rr, order, ctx)) { ret=-1; goto err; }
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp: In member function ‘bool CKey::Sign(uint256, std::vector<unsigned char>&)’:
- src/key.cpp:347:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- if (BN_cmp(sig->s, halforder) > 0) {
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:349:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- BN_sub(sig->s, order, sig->s);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:349:34: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- BN_sub(sig->s, order, sig->s);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp: In member function ‘bool CKey::SignCompact(uint256, std::vector<unsigned char>&)’:
- src/key.cpp:374:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- int nBitsR = BN_num_bits(sig->r);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:375:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- int nBitsS = BN_num_bits(sig->s);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:400:22: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- BN_bn2bin(sig->r,&vchSig[33-(nBitsR+7)/8]);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:401:22: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- BN_bn2bin(sig->s,&vchSig[65-(nBitsS+7)/8]);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp: In member function ‘bool CKey::SetCompactSignature(uint256, const std::vector<unsigned char>&)’:
- src/key.cpp:420:32: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- BN_bin2bn(&vchSig[1],32,sig->r);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- src/key.cpp:421:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- BN_bin2bn(&vchSig[33],32,sig->s);
- ^
- In file included from /usr/local/include/openssl/ecdsa.h:10:0,
- from src/key.cpp:7:
- /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
- typedef struct ECDSA_SIG_st ECDSA_SIG;
- ^
- Makefile:14072: recipe for target 'build/key.o' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement