CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2018/05/30 09:59:33
Modified files: lib/libcrypto/x509: x509.h x509type.c Log message: Add const to both arguments of X509_certificate_type() and clean up a little: Use X509_get0_pubkey() in place of X509_get_pubkey() and EVP_PKEY_free(). Check return value of the former in the appropriate place and simplify the logic for dealing with the potentially NULL pkey argument (includes a neat tweak from jsing). Finally, kill an ugly comment that has been rotting for twenty years and merge the lines around it. tested in a bulk build by sthen ok jsing