summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.h
diff options
context:
space:
mode:
authortb <>2022-01-10 12:17:49 +0000
committertb <>2022-01-10 12:17:49 +0000
commitd7610bb566b677b7cd1dff6af83c18174a305942 (patch)
treef72f56bcb9b07746c05844ed107e00d748cda463 /src/usr.bin/openssl/apps.h
parent6b5741e4f43381bf67a7a82640e37e6bb4ac4d68 (diff)
downloadopenbsd-d7610bb566b677b7cd1dff6af83c18174a305942.tar.gz
openbsd-d7610bb566b677b7cd1dff6af83c18174a305942.tar.bz2
openbsd-d7610bb566b677b7cd1dff6af83c18174a305942.zip
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
Diffstat (limited to 'src/usr.bin/openssl/apps.h')
-rw-r--r--src/usr.bin/openssl/apps.h4
1 files changed, 3 insertions, 1 deletions
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 @@
1/* $OpenBSD: apps.h,v 1.30 2021/11/26 16:23:27 tb Exp $ */ 1/* $OpenBSD: apps.h,v 1.31 2022/01/10 12:17:49 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -326,4 +326,6 @@ int options_parse(int argc, char **argv, const struct option *opts,
326 326
327void show_cipher(const OBJ_NAME *name, void *arg); 327void show_cipher(const OBJ_NAME *name, void *arg);
328 328
329int pkey_check(BIO *out, EVP_PKEY *pkey, int (check_fn)(EVP_PKEY_CTX *),
330 const char *desc);
329#endif 331#endif