Cleanup/simplify ssl_cert_type()
authorjsing <jsing@openbsd.org>
Thu, 3 Feb 2022 16:33:12 +0000 (16:33 +0000)
committerjsing <jsing@openbsd.org>
Thu, 3 Feb 2022 16:33:12 +0000 (16:33 +0000)
commite7fd08e8b66721ccf5d42295648f7ceab59db864
treee2bdc64e408336fe0415d583d62e65ba4d0a718d
parentc7427a548fd48b99c0a5b86c80f2810d8933ba46
Cleanup/simplify ssl_cert_type()

Remove the X509 argument as it is unused - this was passed so that
ssl_cert_type() can get the public key from the X509 object if the
EVP_PKEY argument is NULL, however this is never the case.

ok tb@
lib/libssl/ssl_both.c
lib/libssl/ssl_clnt.c
lib/libssl/ssl_locl.h
lib/libssl/ssl_rsa.c
lib/libssl/tls13_client.c
lib/libssl/tls13_server.c