Fixed typo in wc_SignatureGetSize causing error.

This commit is contained in:
David Garske
2016-02-05 07:32:47 -08:00
parent faf590eb22
commit be99fcff43

View File

@ -95,7 +95,7 @@ int wc_SignatureGetSize(enum wc_SignatureType sig_type,
WOLFSSL_MSG("wc_SignatureGetSize: Invalid ECC key size");
}
#else
ret = SIG_TYPE_E;
sig_len = SIG_TYPE_E;
#endif
break;
@ -109,7 +109,7 @@ int wc_SignatureGetSize(enum wc_SignatureType sig_type,
WOLFSSL_MSG("wc_SignatureGetSize: Invalid RsaKey key size");
}
#else
ret = SIG_TYPE_E;
sig_len = SIG_TYPE_E;
#endif
break;