diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-02-18 18:21:57 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-02-18 18:21:57 +0000 |
commit | 5d5ca32fa1b34de7b7c869e9860929d033f9ffd7 (patch) | |
tree | 306785c9ecc32d1c434aeb2562531b5047c663ed /crypto/x509/by_dir.c | |
parent | 52b8dad8ec6eb0dcada52851af5f9498af7a91be (diff) |
Updates from 0.9.8-stable branch.
Diffstat (limited to 'crypto/x509/by_dir.c')
-rw-r--r-- | crypto/x509/by_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index f02168ab92..a368adecec 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -230,7 +230,7 @@ static int add_cert_dir(BY_DIR *ctx, const char *dir, int type) for (j=0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); 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; } |