use rk_undumpdata, spelling

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23413 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-07-26 18:34:53 +00:00
parent 405983ffb9
commit b1f885befe
8 changed files with 37 additions and 104 deletions

View File

@@ -401,7 +401,7 @@ file_init_common(hx509_context context,
void *ptr;
int i;
ret = _hx509_map_file(p, &ptr, &length, NULL);
ret = rk_undumpdata(p, &ptr, &length);
if (ret) {
hx509_clear_error_string(context);
goto out;
@@ -412,7 +412,7 @@ file_init_common(hx509_context context,
if (ret == 0)
break;
}
_hx509_unmap_file(ptr, length);
rk_xfree(ptr);
if (ret)
goto out;
}