From: Dr. Stephen Henson Date: Sat, 15 Nov 2008 17:46:41 +0000 (+0000) Subject: Stop warnings. X-Git-Tag: OpenSSL_0_9_8j~38 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=55eff400849a52616fe1b72514b3164112fb6a9a;p=oweals%2Fopenssl.git Stop warnings. --- diff --git a/crypto/camellia/cmll_misc.c b/crypto/camellia/cmll_misc.c index c5d698169d..2cd7aba9bb 100644 --- a/crypto/camellia/cmll_misc.c +++ b/crypto/camellia/cmll_misc.c @@ -65,7 +65,7 @@ int Camellia_set_key(const unsigned char *userKey, const int bits, { if (FIPS_mode()) FIPS_BAD_ABORT(CAMELLIA) - private_Camellia_set_key(userKey, bits, key); + return private_Camellia_set_key(userKey, bits, key); } int private_Camellia_set_key(const unsigned char *userKey, const int bits, CAMELLIA_KEY *key) diff --git a/crypto/x509v3/v3_addr.c b/crypto/x509v3/v3_addr.c index 63f4785325..a37f844d3c 100644 --- a/crypto/x509v3/v3_addr.c +++ b/crypto/x509v3/v3_addr.c @@ -878,7 +878,7 @@ int v3_addr_canonize(IPAddrBlocks *addr) v3_addr_get_afi(f))) return 0; } - sk_IPAddressFamily_set_cmp_func(addr, IPAddressFamily_cmp); + (void)sk_IPAddressFamily_set_cmp_func(addr, IPAddressFamily_cmp); sk_IPAddressFamily_sort(addr); assert(v3_addr_is_canonical(addr)); return 1;