--TEST-- openssl_cms_decrypt() tests --EXTENSIONS-- openssl --FILE-- --EXPECTF-- bool(true) Decrypted text: Now is the winter of our discontent. bool(true) Warning: openssl_cms_decrypt(): Unable to get private key in %s on line %d bool(false) Warning: openssl_cms_decrypt(): X.509 Certificate cannot be retrieved in %s on line %d bool(false) Warning: openssl_cms_decrypt(): X.509 Certificate cannot be retrieved in %s on line %d bool(false) bool(false) bool(false) bool(false) Warning: openssl_cms_decrypt(): X.509 Certificate cannot be retrieved in %s on line %d bool(false) Warning: openssl_cms_decrypt(): Unable to get private key in %s on line %d bool(false) true true