stop using AlgorithmIdentifierNonOpt

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14280 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-10-03 16:43:24 +00:00
parent 56c4df08f7
commit 15994aadba

View File

@@ -311,16 +311,14 @@ get_dh_param(krb5_context context, SubjectPublicKeyInfo *dh_key_info,
return KRB5_BADMSGTYPE; return KRB5_BADMSGTYPE;
} }
#if 0
if (dh_key_info->algorithm.parameters == NULL) { if (dh_key_info->algorithm.parameters == NULL) {
krb5_set_error_string(context, "PKINIT missing algorithm parameter " krb5_set_error_string(context, "PKINIT missing algorithm parameter "
"in clientPublicValue"); "in clientPublicValue");
return KRB5_BADMSGTYPE; return KRB5_BADMSGTYPE;
} }
#endif
ret = decode_DomainParameters(dh_key_info->algorithm.parameters.data, ret = decode_DomainParameters(dh_key_info->algorithm.parameters->data,
dh_key_info->algorithm.parameters.length, dh_key_info->algorithm.parameters->length,
&dhparam, &dhparam,
NULL); NULL);
if (ret) { if (ret) {