gcc 4.2 fixes to avoid use or function pointer casts in OpenSSL.
[openssl.git] / ssl / ssl_cert.c
index fb080093e550d1b3444fb1edb61525271e3076d7..a32b2d4446452851f3dca5802688830fd89d65fb 100644 (file)
@@ -762,7 +762,7 @@ err:
        if(x != NULL)
                X509_free(x);
        
-       sk_X509_NAME_set_cmp_func(stack,oldcmp);
+       (void)sk_X509_NAME_set_cmp_func(stack,oldcmp);
 
        return ret;
        }