summaryrefslogtreecommitdiff
path: root/apps/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-08-17 23:13:28 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-11-11 20:18:55 +0100
commitadbd77f6d7cc4efb7b4bde483036fab8e48ce870 (patch)
tree2de0061bf11418cb9ebd080eb77f136c707040fa /apps/include
parentb0c1214e1e82bc4c98eadd11d368b4ba9ffa202c (diff)
downloadopenssl-new-adbd77f6d7cc4efb7b4bde483036fab8e48ce870.tar.gz
X509: Fix handling of AKID and SKID extensions according to configuration
Fixes #16300 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/16342)
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/apps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h
index 9d5db16600..6018a83ca4 100644
--- a/apps/include/apps.h
+++ b/apps/include/apps.h
@@ -247,6 +247,7 @@ int x509_req_ctrl_string(X509_REQ *x, const char *value);
int init_gen_str(EVP_PKEY_CTX **pctx,
const char *algname, ENGINE *e, int do_param,
OSSL_LIB_CTX *libctx, const char *propq);
+int cert_matches_key(const X509 *cert, const EVP_PKEY *pkey);
int do_X509_sign(X509 *x, EVP_PKEY *pkey, const char *md,
STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx);
int do_X509_verify(X509 *x, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *vfyopts);