diff --git a/lib/hx509/ca.c b/lib/hx509/ca.c index 369a8bdbd..36fd40f7c 100644 --- a/lib/hx509/ca.c +++ b/lib/hx509/ca.c @@ -446,6 +446,14 @@ hx509_ca_tbs_set_subject(hx509_context context, return hx509_name_copy(context, subject, &tbs->subject); } +int +hx509_ca_tbs_subject_expand(hx509_context context, + hx509_ca_tbs tbs, + hx509_env env) +{ + return hx509_name_expand(context, tbs->subject, env); +} + static int add_extension(hx509_context context, TBSCertificate *tbsc,