diff options
author | tb <> | 2023-04-14 15:27:13 +0000 |
---|---|---|
committer | tb <> | 2023-04-14 15:27:13 +0000 |
commit | 1a5bd4cb78097710de5283a737286c1b65609dc7 (patch) | |
tree | 7aed66c51404da4ea67dbb87b6191ab6c0e9a5ee /src/usr.bin/openssl/apps.h | |
parent | be3f11b57177567c1f951c5428261d6d8d9ee729 (diff) | |
download | openbsd-1a5bd4cb78097710de5283a737286c1b65609dc7.tar.gz openbsd-1a5bd4cb78097710de5283a737286c1b65609dc7.tar.bz2 openbsd-1a5bd4cb78097710de5283a737286c1b65609dc7.zip |
Drop policy printing from openssl
Nothing really uses the policy tree. It's desgined with built-in DoS
capabilities directly from the RFC. It will be removed from the attack
surface and replaced with something equivalent that doesn't grow
exponentially with the depth.
This removes the only reason the policy tree itself ever leaked out of
the library.
ok jsing
Diffstat (limited to 'src/usr.bin/openssl/apps.h')
-rw-r--r-- | src/usr.bin/openssl/apps.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h index f4fa5361a7..82e0662c88 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.31 2022/01/10 12:17:49 tb Exp $ */ | 1 | /* $OpenBSD: apps.h,v 1.32 2023/04/14 15:27:13 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 | * |
@@ -237,7 +237,6 @@ int parse_yesno(const char *str, int def); | |||
237 | X509_NAME *parse_name(char *str, long chtype, int multirdn); | 237 | X509_NAME *parse_name(char *str, long chtype, int multirdn); |
238 | int args_verify(char ***pargs, int *pargc, int *badarg, BIO *err, | 238 | int args_verify(char ***pargs, int *pargc, int *badarg, BIO *err, |
239 | X509_VERIFY_PARAM **pm); | 239 | X509_VERIFY_PARAM **pm); |
240 | void policies_print(BIO *out, X509_STORE_CTX *ctx); | ||
241 | int bio_to_mem(unsigned char **out, int maxlen, BIO *in); | 240 | int bio_to_mem(unsigned char **out, int maxlen, BIO *in); |
242 | int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value); | 241 | int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value); |
243 | int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, const char *algname, | 242 | int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, const char *algname, |