2001-04-09 Ken Raeburn <raeburn@mit.edu>
+ * pcbc_encrypt.c (des_pcbc_encrypt): Initialize plainl and plainr
+ to keep compiler happy.
+
* des.h: Deleted to avoid confusion with the other des.h in the
tree. All files changed to include des_int.h and
(the other) des.h instead.
* des_pcbc_encrypt.c - encrypt a string of characters in error propagation mode
*/
-#include "des425.h"
+#include "des_int.h"
+#include "des.h"
#include <f_tables.h>
/*
* Deal with encryption and decryption separately.
*/
if (encrypt) {
- register unsigned DES_INT32 plainl;
- register unsigned DES_INT32 plainr;
+ /* Initialization isn't really needed here, but gcc
+ complains because it doesn't understand that the
+ only case where these can be used uninitialized is
+ to compute values that'll in turn be ignored
+ because we won't go around the loop again. */
+ register unsigned DES_INT32 plainl = 42;
+ register unsigned DES_INT32 plainr = 17;
/*
* Initialize left and right with the contents of the initial