mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
872948f21a
The openssl_pkey_get_public() doesn't work as advertized in the docs; it can't get a public key from a private key (because a key is a key), but would return the private key anyway. The function was originally designed to get the public key from a certificate.