-/* $OpenBSD: apps.h,v 1.33 2023/06/11 12:35:00 jsg Exp $ */
+/* $OpenBSD: apps.h,v 1.34 2023/06/11 13:02:10 jsg Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
extern char *default_config_file;
extern BIO *bio_err;
-typedef struct args_st {
- char **data;
- int count;
-} ARGS;
-
#define PW_MIN_LENGTH 4
typedef struct pw_cb_data {
const void *password;
-/* $OpenBSD: openssl.c,v 1.34 2023/06/11 05:45:20 tb Exp $ */
+/* $OpenBSD: openssl.c,v 1.35 2023/06/11 13:02:10 jsg Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int
main(int argc, char **argv)
{
- ARGS arg;
char *to_free = NULL;
int i, ret = 0;
char *p;
LHASH_OF(FUNCTION) * prog = NULL;
long errline;
- arg.data = NULL;
- arg.count = 0;
-
if (pledge("stdio cpath wpath rpath inet dns proc flock tty", NULL) == -1) {
fprintf(stderr, "openssl: pledge: %s\n", strerror(errno));
exit(1);
}
if (prog != NULL)
lh_FUNCTION_free(prog);
- free(arg.data);
openssl_shutdown();