From 5d5ca32fa1b34de7b7c869e9860929d033f9ffd7 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 18 Feb 2007 18:21:57 +0000 Subject: [PATCH] Updates from 0.9.8-stable branch. --- apps/dgst.c | 2 +- apps/s_client.c | 2 +- crypto/x509/by_dir.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dgst.c b/apps/dgst.c index 2e7b0792d8..5d82cb2e65 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -493,7 +493,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout, else { BIO_write(out,title,strlen(title)); - for (i=0; idirs); j++) { ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); - if (strlen(ent->dir) == len && + if (strlen(ent->dir) == (size_t)len && strncmp(ent->dir,ss,(unsigned int)len) == 0) break; } -- 2.25.1