aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/rc4/rc4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/stream/rc4/rc4.h')
-rw-r--r--src/lib/stream/rc4/rc4.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/stream/rc4/rc4.h b/src/lib/stream/rc4/rc4.h
index 60c9450b4..9c4b2717c 100644
--- a/src/lib/stream/rc4/rc4.h
+++ b/src/lib/stream/rc4/rc4.h
@@ -44,12 +44,11 @@ class BOTAN_DLL RC4 : public StreamCipher
void generate();
const size_t SKIP;
-
- byte X, Y;
+ byte X = 0;
+ byte Y = 0;
secure_vector<byte> state;
-
secure_vector<byte> buffer;
- size_t position;
+ size_t position = 0;
};
}