Prevent infinite loop loading config files.
[openssl.git] / crypto / conf / conf_def.c
index cf951320af8ee344e60d4fd863be34dc3cebce8c..f0b27687395f5b4ab38c3f8b491921d8b3dedbe6 100644 (file)
@@ -321,7 +321,7 @@ again:
                        p=eat_ws(conf, end);
                        if (*p != ']')
                                {
-                               if (*p != '\0')
+                               if (*p != '\0' && ss != p)
                                        {
                                        ss=p;
                                        goto again;