add_cert_to_list
rv = add_cert_to_list(kmfh, cert, certlist, ncerts);
rv = add_cert_to_list(kmfh, c, certlist, ncerts);