From 0df2ce7dc9d7779de249568c5dd13f9d75011230 Mon Sep 17 00:00:00 2001 From: Neelima P S Date: Fri, 22 May 2026 08:42:11 +0000 Subject: [PATCH] Changes for x509 cmd not working 2nd time (#33) Co-authored-by: neelimap Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/33 Co-authored-by: Neelima P S Co-committed-by: Neelima P S --- .../target/src/openssl/OPENSSL/openssl-3.5.0/apps/x509.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vxworks-6.9/target/src/openssl/OPENSSL/openssl-3.5.0/apps/x509.c b/vxworks-6.9/target/src/openssl/OPENSSL/openssl-3.5.0/apps/x509.c index fdae8f38..610de16a 100644 --- a/vxworks-6.9/target/src/openssl/OPENSSL/openssl-3.5.0/apps/x509.c +++ b/vxworks-6.9/target/src/openssl/OPENSSL/openssl-3.5.0/apps/x509.c @@ -306,6 +306,8 @@ int x509_main(int argc, char **argv) int subject_hash_old = 0, issuer_hash_old = 0; #endif + reset_unknown(); + ctx = X509_STORE_new(); if (ctx == NULL) goto err;