SHARE
TWEET

Untitled

a guest Jul 19th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. src/key.cpp: In function ‘int ECDSA_SIG_recover_key_GFp(EC_KEY*, ECDSA_SIG*, const unsigned char*, int, int, int)’:
  2. src/key.cpp:81:28: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  3.      if (!BN_add(x, x, ecsig->r)) { ret=-1; goto err; }
  4.                             ^
  5. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  6.                  from src/key.cpp:7:
  7. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  8.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  9.                 ^
  10. 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]
  11.      if (!EC_GROUP_get_curve_GFp(group, field, NULL, NULL, ctx)) { ret=-2; goto err; }
  12.           ^
  13. 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]
  14.      if (!EC_GROUP_get_curve_GFp(group, field, NULL, NULL, ctx)) { ret=-2; goto err; }
  15.                                                               ^
  16. 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]
  17.      if (!EC_POINT_set_compressed_coordinates_GFp(group, R, x, recid % 2, ctx)) { ret=0; goto err; }
  18.           ^
  19. 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]
  20.      if (!EC_POINT_set_compressed_coordinates_GFp(group, R, x, recid % 2, ctx)) { ret=0; goto err; }
  21.                                                                              ^
  22. src/key.cpp:102:34: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  23.      if (!BN_mod_inverse(rr, ecsig->r, order, ctx)) { ret=-1; goto err; }
  24.                                   ^
  25. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  26.                  from src/key.cpp:7:
  27. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  28.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  29.                 ^
  30. src/key.cpp:104:31: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  31.      if (!BN_mod_mul(sor, ecsig->s, rr, order, ctx)) { ret=-1; goto err; }
  32.                                ^
  33. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  34.                  from src/key.cpp:7:
  35. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  36.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  37.                 ^
  38. src/key.cpp: In member function ‘bool CKey::Sign(uint256, std::vector<unsigned char>&)’:
  39. src/key.cpp:347:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  40.      if (BN_cmp(sig->s, halforder) > 0) {
  41.                    ^
  42. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  43.                  from src/key.cpp:7:
  44. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  45.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  46.                 ^
  47. src/key.cpp:349:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  48.          BN_sub(sig->s, order, sig->s);
  49.                    ^
  50. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  51.                  from src/key.cpp:7:
  52. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  53.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  54.                 ^
  55. src/key.cpp:349:34: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  56.          BN_sub(sig->s, order, sig->s);
  57.                                   ^
  58. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  59.                  from src/key.cpp:7:
  60. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  61.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  62.                 ^
  63. src/key.cpp: In member function ‘bool CKey::SignCompact(uint256, std::vector<unsigned char>&)’:
  64. src/key.cpp:374:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  65.      int nBitsR = BN_num_bits(sig->r);
  66.                                  ^
  67. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  68.                  from src/key.cpp:7:
  69. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  70.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  71.                 ^
  72. src/key.cpp:375:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  73.      int nBitsS = BN_num_bits(sig->s);
  74.                                  ^
  75. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  76.                  from src/key.cpp:7:
  77. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  78.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  79.                 ^
  80. src/key.cpp:400:22: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  81.          BN_bn2bin(sig->r,&vchSig[33-(nBitsR+7)/8]);
  82.                       ^
  83. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  84.                  from src/key.cpp:7:
  85. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  86.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  87.                 ^
  88. src/key.cpp:401:22: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  89.          BN_bn2bin(sig->s,&vchSig[65-(nBitsS+7)/8]);
  90.                       ^
  91. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  92.                  from src/key.cpp:7:
  93. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  94.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  95.                 ^
  96. src/key.cpp: In member function ‘bool CKey::SetCompactSignature(uint256, const std::vector<unsigned char>&)’:
  97. src/key.cpp:420:32: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  98.      BN_bin2bn(&vchSig[1],32,sig->r);
  99.                                 ^
  100. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  101.                  from src/key.cpp:7:
  102. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  103.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  104.                 ^
  105. src/key.cpp:421:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  106.      BN_bin2bn(&vchSig[33],32,sig->s);
  107.                                  ^
  108. In file included from /usr/local/include/openssl/ecdsa.h:10:0,
  109.                  from src/key.cpp:7:
  110. /usr/local/include/openssl/ec.h:1131:16: error: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  111.  typedef struct ECDSA_SIG_st ECDSA_SIG;
  112.                 ^
  113. Makefile:14072: recipe for target 'build/key.o' failed
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top