From 21ceaf518f0004442dda67bc69e508ba45d86689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 25 May 2009 23:43:57 +0000 Subject: [PATCH] clear error string, it makes no sense git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25224 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/ks_file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/hx509/ks_file.c b/lib/hx509/ks_file.c index af86947b6..74808f760 100644 --- a/lib/hx509/ks_file.c +++ b/lib/hx509/ks_file.c @@ -456,8 +456,10 @@ file_init_common(hx509_context context, break; } rk_xfree(ptr); - if (ret) + if (ret) { + hx509_clear_error_string(context); goto out; + } } }