summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-10-22 09:44:31 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-10-22 09:44:31 +0000
commit20c34ac3e48c91ce0a6b8d5f1465030a65dd8a9e (patch)
treed263128d4174f597de4cd6ee57bda493d906a329
parentf717b03d1082a210c9810f0fbed66eba4c8c2198 (diff)
Stop setting enc.modified manually. It's no longer needed.
-rw-r--r--usr.bin/openssl/ca.c3
-rw-r--r--usr.bin/openssl/req.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/openssl/ca.c b/usr.bin/openssl/ca.c
index 00dbc5ba106..2adc70141b7 100644
--- a/usr.bin/openssl/ca.c
+++ b/usr.bin/openssl/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.49 2021/09/05 04:05:14 inoguchi Exp $ */
+/* $OpenBSD: ca.c,v 1.50 2021/10/22 09:44:30 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1764,7 +1764,6 @@ do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst,
X509_NAME_free(n);
goto err;
}
- req->req_info->enc.modified = 1;
X509_NAME_free(n);
}
if (default_op)
diff --git a/usr.bin/openssl/req.c b/usr.bin/openssl/req.c
index dfba8e28c47..aaf3dceb306 100644
--- a/usr.bin/openssl/req.c
+++ b/usr.bin/openssl/req.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: req.c,v 1.19 2020/08/09 16:38:24 jsing Exp $ */
+/* $OpenBSD: req.c,v 1.20 2021/10/22 09:44:30 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1000,7 +1000,6 @@ req_main(int argc, char **argv)
ex = 1;
goto end;
}
- req->req_info->enc.modified = 1;
if (req_config.verbose) {
print_name(bio_err, "new subject=", X509_REQ_get_subject_name(req), req_config.nmflag);