forked from wolfSSL/wolfssl
fix warnings found building on a PPC
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user