Stop warnings.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 15 Nov 2008 17:46:41 +0000 (17:46 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 15 Nov 2008 17:46:41 +0000 (17:46 +0000)
crypto/camellia/cmll_misc.c
crypto/x509v3/v3_addr.c

index c5d698169d41563e8022e87213815a46dd97e2bf..2cd7aba9bbd41c455e1899a674064d62090578f8 100644 (file)
@@ -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)
index 63f4785325b8f311f663bd8d758a0da78da73438..a37f844d3c28d4cc35a63f17724ab3dab2c38f8a 100644 (file)
@@ -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;