summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-10-04 13:17:13 +0000
committerChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-10-04 13:17:13 +0000
commitf1b4b7da940d5f2b80e86f4f4e0cc1d6b21fea3e (patch)
tree1906693c2fef5697d3f844eca3271997592d559a /sys/arch/amd64
parentf2b45cb94b4f6178957bc54fa744b2379461df94 (diff)
Clean up uninitialized warnings from cryptosoft and aesni.
Part of the work to remove -Wno-uninitialized. ok mikeb@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/aesni.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/aesni.c b/sys/arch/amd64/amd64/aesni.c
index 0f65f73b36e..f64ca45526d 100644
--- a/sys/arch/amd64/amd64/aesni.c
+++ b/sys/arch/amd64/amd64/aesni.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aesni.c,v 1.22 2011/08/17 17:00:35 mikeb Exp $ */
+/* $OpenBSD: aesni.c,v 1.23 2012/10/04 13:17:12 haesbaert Exp $ */
/*-
* Copyright (c) 2003 Jason Wright
* Copyright (c) 2003, 2004 Theo de Raadt
@@ -341,7 +341,7 @@ aesni_encdec(struct cryptop *crp, struct cryptodesc *crd,
uint8_t tag[GMAC_DIGEST_LEN];
uint8_t *buf = aesni_sc->sc_buf;
uint32_t *dw;
- int ivlen, rlen, err = 0;
+ int ivlen, rlen = 0, err = 0;
if (crd->crd_len > aesni_sc->sc_buflen) {
if (buf != NULL) {