summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r--src/lib/libcrypto/crypto/Makefile4
-rw-r--r--src/lib/libcrypto/engine/hw_cryptodev.c2
2 files changed, 3 insertions, 3 deletions
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 @@
1# $OpenBSD: Makefile,v 1.26 2014/04/18 19:41:21 miod Exp $ 1# $OpenBSD: Makefile,v 1.27 2014/04/23 05:13:57 beck Exp $
2 2
3LIB= crypto 3LIB= crypto
4 4
5SSL_SRC= ${.CURDIR}/../../libssl/src 5SSL_SRC= ${.CURDIR}/../../libssl/src
6LCRYPTO_SRC= ${SSL_SRC}/crypto 6LCRYPTO_SRC= ${SSL_SRC}/crypto
7 7
8CFLAGS+= -Wall 8CFLAGS+= -Wall -Werror
9 9
10.include <bsd.own.mk> # for 'NOPIC' definition 10.include <bsd.own.mk> # for 'NOPIC' definition
11.if !defined(NOPIC) 11.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,
654 unsigned char *ivs = DOALIGN(ivs_store); 654 unsigned char *ivs = DOALIGN(ivs_store);
655 void *iiv, *iv = NULL, *ivp = NULL; 655 void *iiv, *iv = NULL, *ivp = NULL;
656 const void *usein = in; 656 const void *usein = in;
657 void *useout = out, *spare; 657 void *useout = out, *spare = NULL;
658 int cws[4 + 3], *cw = DOALIGN(cws); 658 int cws[4 + 3], *cw = DOALIGN(cws);
659 659
660 if (!inl) 660 if (!inl)