Changes for x509 cmd not working 2nd time (#33)

Co-authored-by: neelimap <neelimaps@neominds.in>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/33
Co-authored-by: Neelima P S <neelima.ps@neominds.in>
Co-committed-by: Neelima P S <neelima.ps@neominds.in>
This commit is contained in:
2026-07-30 19:41:32 +05:30
committed by neelimap
co-authored by neelimap
parent 7d51105329
commit 0df2ce7dc9
@@ -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;