mirror of
https://github.com/php/php-src.git
synced 2026-03-27 01:32:22 +01:00
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.