Mich, Yes. My quick tests show that beta 4 works as intended. Any suggestions to measure performance improvements against 5.28? Regards,Jose
On Tuesday, January 5, 2016 4:48 AM, Michal Trojnara Michal.Trojnara@mirt.net wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 05.01.2016 05:46, Jose Alf. wrote:
The following patch fixed the issue for me:
--- options.c.old Tue Dec 22 18:09:39 2015 +++ options.c Mon Jan 04 23:14:29 2016 @@ -272,8 +272,11 @@ } else #endif { - name=arg1; - type=CONF_FILE; + if (arg1) + { + name=arg1; + type=CONF_FILE; + } }
#ifdef HAVE_REALPATH
Thank you for reporting this issue. I made a really dumb mistake.
My patch (restoring the intended control flow) is:
- --- a/src/options.c +++ b/src/options.c @@ -227,6 +227,9 @@ int options_cmdline(char *arg1, char *arg2) { char *name; CONF_TYPE type;
+#ifdef USE_WIN32 + (void)arg2; /* squash the unused parameter warning */ +#endif if(!arg1) { name= #ifdef CONFDIR @@ -258,9 +261,7 @@ int options_cmdline(char *arg1, char *arg2) { log_flush(LOG_MODE_INFO); return 2; } else - -#ifdef USE_WIN32 - - (void)arg2; /* squash the unused parameter warning */ - -#else +#ifndef USE_WIN32 if(!strcasecmp(arg1, "-fd")) { if(!arg2) { s_log(LOG_ERR, "No file descriptor specified");
I have uploaded stunnel-5.29b4 to https://www.stunnel.org/downloads.html
Best regards, Mike
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users