diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index dfc71b4159..95c7aa92b0 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -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; jnum_dirs; j++) if (strncmp(ctx->dirs[j],ss,(unsigned int)len) == 0) continue;