Opened 8 years ago

Closed 8 years ago

#41 closed defect (wontfix)

OpenSSL fails on openssl_pkey_get_details

Reported by: Uri Owned by: Jeff McKenna
Priority: major Milestone:
Component: MS4W - Base Version: 3.1.2
Keywords: Cc:
Blocked By: Blocking:

Description

The following PHP script crashes PHP (while working on an upstream PHP release):

$pk = '-----BEGIN RSA PRIVATE KEY-----
MIIBOwIBAAJBALKASSSY0hfkYxgxogmnPbufoFuJOfvn7mggATV6596uheCCS6z9
t5g2HGqx1Zi/GfjN9WG5AHBM4v0XG8tLwfECAwEAAQJBAIUxYGKkfbBCRQcakfRu
DIxh8gAbh17Gk4iyyPQk/7uSb632EcjgTnfSbUyOLIKZJ5G6tqfRwiXgNO3rZoNA
I1kCIQD460ZngmFBPwjp14fwVHjgGGESiOXRVQQNcP/C19skjwIhALeUMzaJ8HdE
3uXLNj6XjcbRblGIPF1wGXbLNm4uNvF/AiBFwMB47xtLyls4FDK+0R0SRyKkrAIi
t/0ruxegxRZe1wIgQOCeLMMY+X2cbIehlwNGdqIjI6tK8hag2Su+A7hPcI8CIQCs
2Vfpz/olO7xeTAIXl2MefFng8pfULFGkMWxc5ulBhw==
-----END RSA PRIVATE KEY-----';

$kh = openssl_pkey_get_private($pk);
openssl_pkey_get_details($kh);

php_openssl.dll was taken from the TS release of PHP 5.4.45

Change History (1)

comment:1 by Jeff McKenna, 8 years ago

Resolution: wontfix
Status: newclosed

Are you saying that you have added your own *.dll files into MS4W? We don't support adding in your own dll files (PHP and Apache, and the ~100+ libraries included in MS4W are all built in-house, to avoid mixing dlls from different sources, which results always in your issue, the famous "DLL Hell" problem). However if you need a specific dll/feature added, please do file a new ticket requesting that be included in the next release. Also, contact us directly if you can help with funding the changes that your organization needs in MS4W. thanks!

Closing. Please file a new ticket if you need a specific feature added.

Note: See TracTickets for help on using tickets.