chiark / gitweb /
changelog: finalise 1.3.5
[chiark-tcl.git] / crypto / crypto.c
index aee2556de1fcde705642944110a78a5bdd6cd1de..6efea24f325ce5b7079087e5b64082b33c32ce39 100644 (file)
@@ -252,6 +252,14 @@ static int blockcipher_prep(Tcl_Interp *ip, Tcl_Obj *key_obj,
   int rc;
   CiphKeyValue *key;
 
+  /* placate gcc, see Debian #968734 */
+  *key_r= 0;
+  *sched_r= 0;
+  *iv_r= 0;
+  *iv_lenbytes_r= 0;
+  *buffers_r= 0;
+  *nblocks_r= 0;
+
   if (data_len % alg->blocksize)
     return cht_staticerr(ip, "block cipher input not whole number of blocks",
                     "HBYTES BLOCKCIPHER LENGTH");