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;
|
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) {
|
||||||
|
Reference in New Issue
Block a user