Merge pull request 'Enabled Trace by default, added trace routines to libapps and added setup_trace to all configurable apps.' (#74) from enable_trace_support into master

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/74
This commit is contained in:
2026-07-30 20:46:02 +05:30
committed by neelimap
parent cc16d0b785
commit 1f8cf8b317
43 changed files with 426 additions and 4 deletions
@@ -17,6 +17,8 @@
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include <openssl/pem.h>
#include <openssl/trace.h>
#include "app_trace.h"
static int cb(int ok, X509_STORE_CTX *ctx);
static int check(X509_STORE *ctx, const char *file,
@@ -89,6 +91,10 @@ int verify_main(int argc, char **argv)
int vpmtouched = 0, crl_download = 0, show_chain = 0, i = 0, ret = 1;
OPTION_CHOICE o;
#ifndef OPENSSL_NO_TRACE
setup_trace(getenv("OPENSSL_TRACE"));
#endif
if ((vpm = X509_VERIFY_PARAM_new()) == NULL)
goto end;