void pki_x509req::setSubject(const x509name &n) { if (request->req_info->subject != NULL) X509_NAME_free(request->req_info->subject); request->req_info->subject = n.get(); }
void pki_x509req::setSubject(const x509name &n) { X509_REQ_set_subject_name(request, n.get()); }