X509_ALGOR_cmp
if (X509_ALGOR_cmp(a->sig_alg, a->cert_info->signature))
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);