[openssl.org #590] [PATCH] Confirm and reopening X509_get_signature_type() returning NID_undef
X509_get_signature_type() returns NID_undef for any certificate given. Bug exists as far back as I could compile (0.9.6). Attached patch for git master branch makes X509_get_signature_type() a synonym for X509_get_signature_nid(), which makes more sense and won't break anything because the function never worked. Also adds macro X509_get_signature_algs(), which properly extracts public key and digest algorithms as X509_get_signature_type() was supposed to. Ben __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: [openssl.org #590] [PATCH] Confirm and reopening X509_get_signature_type() returning NID_undef
Adding patch On Wed, Oct 15, 2014 at 9:38 PM, Ben Fogle benfo...@gmail.com wrote: X509_get_signature_type() returns NID_undef for any certificate given. Bug exists as far back as I could compile (0.9.6). Attached patch for git master branch makes X509_get_signature_type() a synonym for X509_get_signature_nid(), which makes more sense and won't break anything because the function never worked. Also adds macro X509_get_signature_algs(), which properly extracts public key and digest algorithms as X509_get_signature_type() was supposed to. Ben 590_fixed_X509_get_signature_type.patch Description: Binary data