From: Dr. Stephen Henson Date: Sun, 18 Feb 2007 18:21:57 +0000 (+0000) Subject: Updates from 0.9.8-stable branch. X-Git-Tag: OpenSSL_0_9_8k^2~971 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d5ca32fa1b34de7b7c869e9860929d033f9ffd7;p=oweals%2Fopenssl.git Updates from 0.9.8-stable branch. --- 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; }