libssh: Fix a remaining warning and raise WARNS to 2.
authorSascha Wildner <saw@online.de>
Sun, 25 Jan 2015 19:03:55 +0000 (20:03 +0100)
committerSascha Wildner <saw@online.de>
Sun, 25 Jan 2015 19:03:55 +0000 (20:03 +0100)
crypto/openssh/cipher-ctr-mt.c
secure/lib/libssh/Makefile

index c13ddf0..238b53c 100644 (file)
@@ -285,7 +285,7 @@ thread_loop(void *x)
 
 static int
 ssh_aes_ctr(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src,
-    u_int len)
+    LIBCRYPTO_EVP_INL_TYPE len)
 {
        struct ssh_aes_ctr_ctx *c;
        struct kq *q, *oldq;
index 57c1a48..6bd3188 100644 (file)
@@ -27,7 +27,7 @@ SRCS+=        bcrypt_pbkdf.c blowfish.c bsd-misc.c explicit_bzero.c \
 
 MAN=   moduli.5
 
-WARNS?=        0
+WARNS?=        2
 
 .include "../../Makefile.ssh.common"
 .include <bsd.lib.mk>