Merge pull request #1038 from JacobBarthelmeh/Testing

fix warnings found building on a PPC
This commit is contained in:
dgarske
2017-07-19 16:54:50 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -804,7 +804,7 @@ static int SetASNInt(int len, byte firstByte, byte* output)
}
#endif
#if !defined(NO_DSA) || defined(HAVE_ECC) || (defined(WOLFSSL_KEY_GEN) && !defined(NO_RSA) && !defined(HAVE_USER_RSA))
#if !defined(NO_DSA) || defined(HAVE_ECC) || defined(WOLFSSL_CERT_GEN) || (defined(WOLFSSL_KEY_GEN) && !defined(NO_RSA) && !defined(HAVE_USER_RSA))
/* Set the DER/BER encoding of the ASN.1 INTEGER element with an mp_int.
* The number is assumed to be positive.
*

View File

@ -13448,9 +13448,9 @@ int mp_test(void)
int ret;
#if defined(HAVE_ECC) || defined(WOLFSSL_KEY_GEN)
int i, j, k;
mp_digit d;
#endif
mp_int a, b, r1, r2, p;
mp_digit d;
ret = mp_init_multi(&a, &b, &r1, &r2, NULL, NULL);
if (ret != 0)