> I am sorry, but i have no github account.  Maybe it is possible to have some
> @bug address which creates issues automatically?

Nah, too much spam will happen :(  Posting to openssl-dev is fine.

>   ? openssl version
>   OpenSSL 1.0.2k  26 Jan 2017
>   ? /home/steffen/usr/opt/.ssl-1.1.0/bin/openssl version
>   OpenSSL 1.1.0  25 Aug 2016

So this happens on both 1.0.2 and 1.1.0?

Does the following patch fix it for 1.1.0?

; git diff
diff --git a/apps/opt.c b/apps/opt.c
index 499a0b5..4547da1 100644
--- a/apps/opt.c
+++ b/apps/opt.c
@@ -661,7 +661,8 @@ int opt_next(void)
             return -1;
         case '<':
             /* Input file. */
-            if (strcmp(arg, "-") == 0 || app_access(arg, R_OK) >= 0)
+            if (strcmp(arg, "-") == 0
+                    || (!app_isdir(arg) && app_access(arg, R_OK) >= 0))
                 break;
             BIO_printf(bio_err,
                        "%s: Cannot open input file %s, %s\n",



-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to