[php-src] Issue #15936: openssl_private_decrypt - different behaviour on alpine v3.20

From: Date: Tue, 17 Sep 2024 09:52:14 +0000
Subject: [php-src] Issue #15936: openssl_private_decrypt - different behaviour on alpine v3.20
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247812@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15936 Author: mrVrAlex ### Description Hello, try run following code in 2 docker images - php:8.3.11-alpine3.20 - php:8.3.11-alpine3.19 and check results. openssl_private_decrypt not getting error. In old Alpine version results is expected https://3v4l.org/vrTcG#v8.3.11 Resulted (for alpine 3.20) in this output: ``` bool(true) bool(false) ``` But I expected this output instead (alpine 3.19): ``` bool(false) string(48) "error:0200009F:rsa routines::pkcs decoding error" ``` Please help understand. It is some problem with OpenSSL in Alpine or it is problem somewhere in PHP source?? ### PHP Version PHP 8.3.11 ### Operating System Alpine 3.20

« previous php.bugs (#247812) next »