]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix spurious error
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 8 Oct 2021 21:38:37 +0000 (16:38 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 8 Oct 2021 21:38:37 +0000 (16:38 -0500)
src/lib/tls/pairs.c

index 49820f8c0c137530a7f1d8581aa5c511a5c3a0c4..6d4da312914452693ab1a1976d71a5f4ba27fa67 100644 (file)
@@ -304,6 +304,7 @@ skip_alt:
                                         "Add a dictionary definition if you want to access it",
                                         fr_box_strvalue_len((char *)fr_dbuff_current(out),
                                                             fr_dbuff_remaining(out)));
+                               fr_strerror_clear();    /* Don't leave spurious errors from failed resolution */
                                goto again;
                        }