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