projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use X509_get0_pubkey where appropriate
[openssl.git]
/
crypto
/
x509
/
x509_cmp.c
diff --git
a/crypto/x509/x509_cmp.c
b/crypto/x509/x509_cmp.c
index 9d9ea4b6050d396f36ae268bd5ae85d256d18207..20834a079fc1e7f76589f2644ecac91e11af7e27 100644
(file)
--- a/
crypto/x509/x509_cmp.c
+++ b/
crypto/x509/x509_cmp.c
@@
-432,7
+432,7
@@
int X509_chain_check_suiteb(int *perror_depth, X509 *x, STACK_OF(X509) *chain,
rv = X509_V_ERR_SUITE_B_INVALID_VERSION;
goto end;
}
- pk = X509_get_pubkey(x);
+ pk = X509_get
0
_pubkey(x);
rv = check_suite_b(pk, sign_nid, &tflags);
if (rv != X509_V_OK)
goto end;