use oid variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25235 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -4490,7 +4490,7 @@ _krb5_pk_kdf(krb5_context context,
|
|||||||
unsigned char *keydata;
|
unsigned char *keydata;
|
||||||
unsigned char shaoutput[SHA_DIGEST_LENGTH];
|
unsigned char shaoutput[SHA_DIGEST_LENGTH];
|
||||||
|
|
||||||
if (der_heim_oid_cmp(oid_id_pkinit_kdf_ah_sha1(), &ai->algorithm) != 0) {
|
if (der_heim_oid_cmp(&asn1_oid_id_pkinit_kdf_ah_sha1, &ai->algorithm) != 0) {
|
||||||
krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
|
krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
|
||||||
N_("KDF not supported", ""));
|
N_("KDF not supported", ""));
|
||||||
return KRB5_PROG_ETYPE_NOSUPP;
|
return KRB5_PROG_ETYPE_NOSUPP;
|
||||||
|
Reference in New Issue
Block a user