mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 10:25:41 +00: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.