]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshblowf.c
Ifdef out the actual code supporting 3des-ctr and blowfish-ctr, since GCC
[PuTTY.git] / sshblowf.c
index 60835b3eb9ea11d01b9cc66fb8448f17994429a4..a264c3c542dd7ae2f67b7e6ad56178c0d5d98634 100644 (file)
@@ -389,6 +389,7 @@ static void blowfish_msb_decrypt_cbc(unsigned char *blk, int len,
     ctx->iv1 = iv1;
 }
 
+#ifdef ENABLE_BLOWFISH_SSH2_CTR
 static void blowfish_msb_sdctr(unsigned char *blk, int len,
                                     BlowfishContext * ctx)
 {
@@ -414,6 +415,7 @@ static void blowfish_msb_sdctr(unsigned char *blk, int len,
     ctx->iv0 = iv0;
     ctx->iv1 = iv1;
 }
+#endif
 
 static void blowfish_setkey(BlowfishContext * ctx,
                            const unsigned char *key, short keybytes)