summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/engine/hw_cryptodev.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-04-23 05:13:57 +0000
committerbeck <beck@openbsd.org>2014-04-23 05:13:57 +0000
commitb3cdb6d8920e96503bcac9e5776de792d054be7b (patch)
tree1957c34e0b4569acf7dac4897aff611a7c9b5dc9 /lib/libssl/src/crypto/engine/hw_cryptodev.c
parentMake sure ret->name is NULL'ed before return when freeing. (diff)
downloadwireguard-openbsd-b3cdb6d8920e96503bcac9e5776de792d054be7b.tar.xz
wireguard-openbsd-b3cdb6d8920e96503bcac9e5776de792d054be7b.zip
Make libssl and libcrypto compile with -Werror
ok miod@
Diffstat (limited to 'lib/libssl/src/crypto/engine/hw_cryptodev.c')
-rw-r--r--lib/libssl/src/crypto/engine/hw_cryptodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/engine/hw_cryptodev.c b/lib/libssl/src/crypto/engine/hw_cryptodev.c
index bc953872dd0..190dcc4f753 100644
--- a/lib/libssl/src/crypto/engine/hw_cryptodev.c
+++ b/lib/libssl/src/crypto/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)