From dcb0d427b64e6c1c48b2beae544701ac303f214a Mon Sep 17 00:00:00 2001 From: beck <> Date: Wed, 23 Apr 2014 05:13:57 +0000 Subject: Make libssl and libcrypto compile with -Werror ok miod@ --- src/lib/libcrypto/crypto/Makefile | 4 ++-- src/lib/libcrypto/engine/hw_cryptodev.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libcrypto') diff --git a/src/lib/libcrypto/crypto/Makefile b/src/lib/libcrypto/crypto/Makefile index f46702b7eb..7259e461cd 100644 --- a/src/lib/libcrypto/crypto/Makefile +++ b/src/lib/libcrypto/crypto/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.26 2014/04/18 19:41:21 miod Exp $ +# $OpenBSD: Makefile,v 1.27 2014/04/23 05:13:57 beck Exp $ LIB= crypto SSL_SRC= ${.CURDIR}/../../libssl/src LCRYPTO_SRC= ${SSL_SRC}/crypto -CFLAGS+= -Wall +CFLAGS+= -Wall -Werror .include # for 'NOPIC' definition .if !defined(NOPIC) diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c index bc953872dd..190dcc4f75 100644 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ b/src/lib/libcrypto/engine/hw_cryptodev.c @@ -654,7 +654,7 @@ xcrypt_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, unsigned char *ivs = DOALIGN(ivs_store); void *iiv, *iv = NULL, *ivp = NULL; const void *usein = in; - void *useout = out, *spare; + void *useout = out, *spare = NULL; int cws[4 + 3], *cw = DOALIGN(cws); if (!inl) -- cgit v1.2.3-55-g6feb