From 881f2dd4994fb9360759218f22e82d50ccf3e63f Mon Sep 17 00:00:00 2001 From: Xiaoyin Liu Date: Sat, 22 Jul 2017 18:44:27 -0400 Subject: [PATCH] Remove unused function prototypes `args_verify()` and `opt_reset()` are declared in `apps/apps.h`, but they are not referenced anywhere. So can we remove them from `apps.h`? Reviewed-by: Kurt Roeckx Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3995) --- apps/apps.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/apps.h b/apps/apps.h index aa3cd3f9f0..3b6597869f 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -375,7 +375,6 @@ int opt_md(const char *name, const EVP_MD **mdp); char *opt_arg(void); char *opt_flag(void); char *opt_unknown(void); -char *opt_reset(void); char **opt_rest(void); int opt_num_rest(void); int opt_verify(int i, X509_VERIFY_PARAM *vpm); @@ -515,8 +514,6 @@ int index_name_cmp(const OPENSSL_CSTRING *a, const OPENSSL_CSTRING *b); int parse_yesno(const char *str, int def); X509_NAME *parse_name(const char *str, long chtype, int multirdn); -int args_verify(char ***pargs, int *pargc, - int *badarg, X509_VERIFY_PARAM **pm); void policies_print(X509_STORE_CTX *ctx); int bio_to_mem(unsigned char **out, int maxlen, BIO *in); int pkey_ctrl_string(EVP_PKEY_CTX *ctx, const char *value); -- 2.25.1