fix warnings found building on a PPC

This commit is contained in:
Jacob Barthelmeh
2017-07-19 09:24:45 -06:00
parent 5f17598d47
commit 81f09e575e
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)