diff options
author | tb <> | 2022-01-10 12:17:49 +0000 |
---|---|---|
committer | tb <> | 2022-01-10 12:17:49 +0000 |
commit | d7610bb566b677b7cd1dff6af83c18174a305942 (patch) | |
tree | f72f56bcb9b07746c05844ed107e00d748cda463 /src/usr.bin/openssl/apps.h | |
parent | 6b5741e4f43381bf67a7a82640e37e6bb4ac4d68 (diff) | |
download | openbsd-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.h | 4 |
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 | ||
327 | void show_cipher(const OBJ_NAME *name, void *arg); | 327 | void show_cipher(const OBJ_NAME *name, void *arg); |
328 | 328 | ||
329 | int pkey_check(BIO *out, EVP_PKEY *pkey, int (check_fn)(EVP_PKEY_CTX *), | ||
330 | const char *desc); | ||
329 | #endif | 331 | #endif |