From d7610bb566b677b7cd1dff6af83c18174a305942 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 10 Jan 2022 12:17:49 +0000 Subject: Implement openssl pkey -{,pub}check and pkeyparam -check These expose EVP_PKEY_{,public_,param_}check() to the command line. They are currently noops and will be enabled in the upcoming bump. ok inoguchi jsing --- src/usr.bin/openssl/apps.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/usr.bin/openssl/apps.h') diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h index e8116bfe44..f4fa5361a7 100644 --- a/src/usr.bin/openssl/apps.h +++ b/src/usr.bin/openssl/apps.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apps.h,v 1.30 2021/11/26 16:23:27 tb Exp $ */ +/* $OpenBSD: apps.h,v 1.31 2022/01/10 12:17:49 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -326,4 +326,6 @@ int options_parse(int argc, char **argv, const struct option *opts, void show_cipher(const OBJ_NAME *name, void *arg); +int pkey_check(BIO *out, EVP_PKEY *pkey, int (check_fn)(EVP_PKEY_CTX *), + const char *desc); #endif -- cgit v1.2.3-55-g6feb