add reset_unknow() in enc.c to resolve 'enc: Multiple cipher or unknown options' (#24)

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/24
Co-authored-by: siddhant <siddhant.singh@neominds.in>
Co-committed-by: siddhant <siddhant.singh@neominds.in>
This commit is contained in:
2026-07-30 19:34:51 +05:30
committed by neelimap
parent 58f112682b
commit 06e66c8a25
@@ -159,6 +159,8 @@ int enc_main(int argc, char **argv)
EVP_SKEY *skey = NULL;
EVP_SKEYMGMT *mgmt = NULL;
reset_unknown();
/* first check the command name */
if (strcmp(argv[0], "base64") == 0)
base64 = 1;