summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-03-10 17:21:37 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-03-18 07:03:52 +0100
commit6b937ae3a7a2dfac55d25a18bd6d5a084c24e3d5 (patch)
treecdf56802cdf79a6010c98509a2117f8294cb109b /include
parent49f07be43d031f0407db8ae1b8cdf6452a79e558 (diff)
TS ESS: Invert the search logic of ts_check_signing_certs() to correctly cover cert ID list
Fixes #14190 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14503)
Diffstat (limited to 'include')
-rw-r--r--include/crypto/ess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/ess.h b/include/crypto/ess.h
index 5abd229869..099e3de9a5 100644
--- a/include/crypto/ess.h
+++ b/include/crypto/ess.h
@@ -32,6 +32,8 @@ ESS_SIGNING_CERT_V2 *ossl_ess_signing_cert_v2_new_init(const EVP_MD *hash_alg,
int ossl_ess_find_cert_v2(const STACK_OF(ESS_CERT_ID_V2) *cert_ids,
const X509 *cert);
int ossl_ess_find_cert(const STACK_OF(ESS_CERT_ID) *cert_ids, X509 *cert);
+int ossl_ess_find_cid(const STACK_OF(X509) *certs,
+ ESS_CERT_ID *cid, ESS_CERT_ID_V2 *cid_v2);
/*-
* IssuerSerial ::= SEQUENCE {