Add wrapping to ContentInfo wrapping to COMPAT_WIN2K.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20701 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
10
kdc/pkinit.c
10
kdc/pkinit.c
@@ -786,6 +786,16 @@ pk_mk_pa_reply_enckey(krb5_context context,
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
if (client_params->type == PKINIT_COMPAT_WIN2K) {
|
||||
ret = hx509_cms_wrap_ContentInfo(oid_id_pkcs7_signedData(),
|
||||
&signed_data,
|
||||
&buf);
|
||||
if (ret)
|
||||
goto out;
|
||||
krb5_data_free(&signed_data);
|
||||
signed_data = buf;
|
||||
}
|
||||
|
||||
ret = hx509_cms_envelope_1(kdc_identity->hx509ctx,
|
||||
0,
|
||||
client_params->cert,
|
||||
|
Reference in New Issue
Block a user