fix ALT_ECC_SIZE in ssh mode

This commit is contained in:
toddouska
2015-07-02 13:48:58 -07:00
parent d2f34c11d3
commit b183bdc009
2 changed files with 7 additions and 41 deletions

View File

@@ -2436,7 +2436,7 @@ int wc_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash,
/* import point from der */
int wc_ecc_import_point_der(byte* in, word32 inLen, const int curve_idx, ecc_point* point)
{
int err;
int err = 0;
int compressed = 0;
if (in == NULL || point == NULL || (ecc_is_valid_idx(curve_idx) == 0))