warning: resolve 'suggest parentheses around operand' compiler warning
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5535 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
f026db6f84
commit
d5679f58af
@ -160,7 +160,9 @@ CERT_HANDLE_FUNCTION(default_cert_handle) {
|
||||
r = SC_ERROR_INTERNAL;
|
||||
goto err;
|
||||
}
|
||||
if(! EVP_PK_RSA & (certtype = X509_certificate_type(cert_data, pkey))) {
|
||||
|
||||
certtype = X509_certificate_type(cert_data, pkey);
|
||||
if(! (EVP_PK_RSA & certtype)) {
|
||||
sc_debug(p15card->card->ctx, SC_LOG_DEBUG_NORMAL, "Error: certificate is not for an RSA key");
|
||||
r = SC_ERROR_INTERNAL;
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user