Change #include filenames from <foo.h> to <openssl.h>.
[openssl.git] / crypto / x509 / by_dir.c
index dfc71b4159022c701b45cb2e0988b6f8766a9bb9..0c7269c854c4aff2478a784843bd7721f3f75e65 100644 (file)
@@ -63,8 +63,8 @@
 #include <sys/stat.h>
 
 #include "cryptlib.h"
-#include "lhash.h"
-#include "x509.h"
+#include <openssl/lhash.h>
+#include <openssl/x509.h>
 
 typedef struct lookup_dir_st
        {
@@ -197,11 +197,7 @@ static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
                        ss=s;
                        s=p+1;
                        len=(int)(p-ss);
-                       if (len == 0)
-                               {
-                               if (ss == p) break;
-                               continue;
-                               }
+                       if (len == 0) continue;
                        for (j=0; j<ctx->num_dirs; j++)
                                if (strncmp(ctx->dirs[j],ss,(unsigned int)len) == 0)
                                        continue;