summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.h
diff options
context:
space:
mode:
authortb <>2023-04-14 15:27:13 +0000
committertb <>2023-04-14 15:27:13 +0000
commit1a5bd4cb78097710de5283a737286c1b65609dc7 (patch)
tree7aed66c51404da4ea67dbb87b6191ab6c0e9a5ee /src/usr.bin/openssl/apps.h
parentbe3f11b57177567c1f951c5428261d6d8d9ee729 (diff)
downloadopenbsd-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.h3
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);
237X509_NAME *parse_name(char *str, long chtype, int multirdn); 237X509_NAME *parse_name(char *str, long chtype, int multirdn);
238int args_verify(char ***pargs, int *pargc, int *badarg, BIO *err, 238int args_verify(char ***pargs, int *pargc, int *badarg, BIO *err,
239 X509_VERIFY_PARAM **pm); 239 X509_VERIFY_PARAM **pm);
240void policies_print(BIO *out, X509_STORE_CTX *ctx);
241int bio_to_mem(unsigned char **out, int maxlen, BIO *in); 240int bio_to_mem(unsigned char **out, int maxlen, BIO *in);
242int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value); 241int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value);
243int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, const char *algname, 242int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, const char *algname,