aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/krb/dk
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/krb/dk')
-rw-r--r--src/lib/crypto/krb/dk/stringtokey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/crypto/krb/dk/stringtokey.c b/src/lib/crypto/krb/dk/stringtokey.c
index 9a49187..4c7206c 100644
--- a/src/lib/crypto/krb/dk/stringtokey.c
+++ b/src/lib/crypto/krb/dk/stringtokey.c
@@ -72,6 +72,7 @@ krb5int_dk_string_to_key(const struct krb5_keytypes *ktp,
indata.data = (char *) foldstring;
foldkeyblock.length = keylength;
foldkeyblock.contents = foldkeydata;
+ foldkeyblock.enctype = ktp->etype;
ret = enc->make_key(&indata, &foldkeyblock);
if (ret != 0)