----- Original Message -----
> GitHub user rwbarber2 opened a pull request:
> 
>     https://github.com/apache/trafficserver/pull/34
> 
>     TS-612 ATS does not allow password protected certificates
> 
>     First attempt at using git to create a pull request..please forgive
>     ignorance if I did it wrong..
>     
>     Added ink_process.cc with ink_popen() & ink_pclose() functions (which use
>     posix_spawn) to execute the pass phrase dialog program.
> 
> 
> You can merge this pull request into a Git repository by running:
> 
>     $ git pull https://github.com/rwbarber2/trafficserver master
> 
> Alternatively you can review and apply these changes as the patch at:
> 
>     https://github.com/apache/trafficserver/pull/34.patch
> 
> ----
> commit 08a676e4253975c56620b738dbd61ccadc718ca7
> Author: Ron Barber <rbar...@yahoo-inc.com>
> Date:   2014-01-20T17:30:20Z
> 
>     TS-612 ATS does not allow password protected certificates
> 
> ----
> 
> 

+#if defined(linux)
+  env = environ;
+#elif defined(darwin)
+  env = *_NSGetEnviron();
+#endif
+

This seems *very* limiting. we support more than those two platforms.
If memory serves me right, all others should support environ, BUT
Why would you want to use the environment anyway? You want to use
a fully-qualified path one way or another and not depend on the
environment.

My suggestion is to pass an empty environment.

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/
GPG: 8716 7A9F 989B ABD5 100F  4008 F266 55D6 2998 1641

Reply via email to