summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/pkeyparam.c
diff options
context:
space:
mode:
authortb <>2022-01-14 10:17:30 +0000
committertb <>2022-01-14 10:17:30 +0000
commitc3859c4619d6925f8bcd2fd29e2681491ff60fc4 (patch)
tree13a730666ff1f2fdd3584d3cef95ac6dc4b6d187 /src/usr.bin/openssl/pkeyparam.c
parent4a9d984952feca1a3256436fbf480ae453239f7e (diff)
downloadopenbsd-c3859c4619d6925f8bcd2fd29e2681491ff60fc4.tar.gz
openbsd-c3859c4619d6925f8bcd2fd29e2681491ff60fc4.tar.bz2
openbsd-c3859c4619d6925f8bcd2fd29e2681491ff60fc4.zip
Enable openssl pkey -{,pub}check and pkeyparam -check
Diffstat (limited to 'src/usr.bin/openssl/pkeyparam.c')
-rw-r--r--src/usr.bin/openssl/pkeyparam.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/pkeyparam.c b/src/usr.bin/openssl/pkeyparam.c
index 6ac4558578..924c39eddb 100644
--- a/src/usr.bin/openssl/pkeyparam.c
+++ b/src/usr.bin/openssl/pkeyparam.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pkeyparam.c,v 1.13 2022/01/10 12:17:49 tb Exp $ */ 1/* $OpenBSD: pkeyparam.c,v 1.14 2022/01/14 10:17:30 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006 3 * project 2006
4 */ 4 */
@@ -165,12 +165,10 @@ pkeyparam_main(int argc, char **argv)
165 goto end; 165 goto end;
166 } 166 }
167 167
168#if notyet
169 if (pkeyparam_config.check) { 168 if (pkeyparam_config.check) {
170 if (!pkey_check(out, pkey, EVP_PKEY_param_check, "Parameters")) 169 if (!pkey_check(out, pkey, EVP_PKEY_param_check, "Parameters"))
171 goto end; 170 goto end;
172 } 171 }
173#endif
174 172
175 if (!pkeyparam_config.noout) 173 if (!pkeyparam_config.noout)
176 PEM_write_bio_Parameters(out, pkey); 174 PEM_write_bio_Parameters(out, pkey);