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 2e7b0792d8c6a5e8325c5aa5b04f05fc8881706d..5d82cb2e658a859f8b25f567f08606bc60db4aa9 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 d3370817484155ccd991a24752747f3a5a0721b5..58e317a1a2a50c0eed6c0f5fa1851bd70feef0b3 100644 (file)
@@ -354,7 +354,7 @@ enum
        PROTO_SMTP,
        PROTO_POP3,
        PROTO_IMAP,
-       PROTO_FTP,
+       PROTO_FTP
 };
 
 int MAIN(int, char **);
index f02168ab92a255ff85645fdb10608bb04b3a0f44..a368adecec4fb317f6dd25aa190ce815142ff9a1 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;
                                }