diff options
| author | tb <> | 2022-01-10 12:17:49 +0000 |
|---|---|---|
| committer | tb <> | 2022-01-10 12:17:49 +0000 |
| commit | 14f4e29aaabe5d49a2778e4a1b478c660842636e (patch) | |
| tree | f72f56bcb9b07746c05844ed107e00d748cda463 /src/usr.bin/openssl/apps.h | |
| parent | 875eb616f98cd0720501dc97ee72ed96343b0b33 (diff) | |
| download | openbsd-14f4e29aaabe5d49a2778e4a1b478c660842636e.tar.gz openbsd-14f4e29aaabe5d49a2778e4a1b478c660842636e.tar.bz2 openbsd-14f4e29aaabe5d49a2778e4a1b478c660842636e.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 |
