From 342e3652c791bdb06e08abcc169b4456c83ccd00 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Sat, 24 Sep 2022 23:59:12 +0200 Subject: APPS: generated certs bear X.509 V3, unless -x509v1 option of req app is given Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/19271) --- apps/include/apps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/include') diff --git a/apps/include/apps.h b/apps/include/apps.h index 335e80775c..a8b63fea8d 100644 --- a/apps/include/apps.h +++ b/apps/include/apps.h @@ -259,7 +259,7 @@ 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, +int do_X509_sign(X509 *x, int force_v1, 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); int do_X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const char *md, -- cgit v1.2.3