stop using AlgorithmIdentifierNonOpt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14280 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -311,16 +311,14 @@ get_dh_param(krb5_context context, SubjectPublicKeyInfo *dh_key_info,
|
||||
return KRB5_BADMSGTYPE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (dh_key_info->algorithm.parameters == NULL) {
|
||||
krb5_set_error_string(context, "PKINIT missing algorithm parameter "
|
||||
"in clientPublicValue");
|
||||
return KRB5_BADMSGTYPE;
|
||||
}
|
||||
#endif
|
||||
|
||||
ret = decode_DomainParameters(dh_key_info->algorithm.parameters.data,
|
||||
dh_key_info->algorithm.parameters.length,
|
||||
ret = decode_DomainParameters(dh_key_info->algorithm.parameters->data,
|
||||
dh_key_info->algorithm.parameters->length,
|
||||
&dhparam,
|
||||
NULL);
|
||||
if (ret) {
|
||||
|
Reference in New Issue
Block a user