Update EVP_PKEY_cmp() and X509_check_private() to return sensible values and