First version from kllin.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20131 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-02-02 20:48:23 +00:00
parent ea871879e0
commit 01ad941e9b

View File

@@ -849,8 +849,9 @@ _kdc_do_digest(krb5_context context,
goto out;
}
hex_encode(md, sizeof(md), &mdx);
hex_encode(answer.data, answer.length, &mdx);
if (mdx == NULL) {
free(answer.data);
krb5_clear_error_string(context);
ret = ENOMEM;
goto out;