Updates from 0.9.8-stable branch.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 18 Feb 2007 18:21:57 +0000 (18:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 18 Feb 2007 18:21:57 +0000 (18:21 +0000)
apps/dgst.c
apps/s_client.c
crypto/x509/by_dir.c

index 2e7b079..5d82cb2 100644 (file)
@@ -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; i<len; i++)
+               for (i=0; i<(int)len; i++)
                        {
                        if (sep && (i != 0))
                                BIO_printf(out, ":");
index d337081..58e317a 100644 (file)
@@ -354,7 +354,7 @@ enum
        PROTO_SMTP,
        PROTO_POP3,
        PROTO_IMAP,
-       PROTO_FTP,
+       PROTO_FTP
 };
 
 int MAIN(int, char **);
index f02168a..a368ade 100644 (file)
@@ -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;
                                }