get_commonname
get_commonname(cert, &cn);
(void)get_commonname(cur_cert, &cur_subjectline);
bool get_commonname(X509 *, char **);