created COMPONENT for LIST command. (#79)
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/79 Co-authored-by: siddhant <siddhant.singh@neominds.in> Co-committed-by: siddhant <siddhant.singh@neominds.in>
This commit is contained in:
@@ -26,11 +26,13 @@
|
||||
#include <openssl/safestack.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/tls1.h>
|
||||
#include <openssl/trace.h>
|
||||
#include "apps.h"
|
||||
#include "app_params.h"
|
||||
#include "progs.h"
|
||||
#include "opt.h"
|
||||
#include "names.h"
|
||||
#include "app_trace.h"
|
||||
|
||||
static int verbose = 0;
|
||||
static const char *select_name = NULL;
|
||||
@@ -1768,6 +1770,18 @@ int list_main(int argc, char **argv)
|
||||
|
||||
verbose = 0; /* Clear a possible previous call */
|
||||
|
||||
#ifndef OPENSSL_NO_TRACE
|
||||
setup_trace(getenv("OPENSSL_TRACE"));
|
||||
#endif
|
||||
|
||||
#if defined(OPENSSL_SYS_VXWORKS_SUPPORT)
|
||||
if (bio_err == NULL)
|
||||
bio_err = dup_bio_err(FORMAT_TEXT);
|
||||
|
||||
if (bio_out == NULL)
|
||||
bio_out = dup_bio_out(FORMAT_TEXT);
|
||||
#endif
|
||||
|
||||
prog = opt_init(argc, argv, list_options);
|
||||
while ((o = opt_next()) != OPT_EOF) {
|
||||
switch (o) {
|
||||
|
||||
Reference in New Issue
Block a user