projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support SM2 certificate verification
[openssl.git]
/
crypto
/
asn1
/
a_verify.c
diff --git
a/crypto/asn1/a_verify.c
b/crypto/asn1/a_verify.c
index 1f2458311307fcc977f26a3536f28f674c6340d3..d26c52360072b67acd5ba6885fa567da72068dd6 100644
(file)
--- a/
crypto/asn1/a_verify.c
+++ b/
crypto/asn1/a_verify.c
@@
-94,7
+94,7
@@
int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a,
int mdnid, pknid;
size_t inll = 0;
- if (
!pkey
) {
+ if (
pkey == NULL
) {
ASN1err(ASN1_F_ASN1_ITEM_VERIFY, ERR_R_PASSED_NULL_PARAMETER);
return -1;
}
@@
-150,7
+150,6
@@
int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a,
ret = 0;
goto err;
}
-
}
inl = ASN1_item_i2d(asn, &buf_in, it);