~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ifdef out the actual code supporting 3des-ctr and blowfish-ctr, since GCC
[sgt/putty]
/
sshblowf.c
diff --git
a/sshblowf.c
b/sshblowf.c
index
60835b3
..
a264c3c
100644
(file)
--- a/
sshblowf.c
+++ b/
sshblowf.c
@@
-389,6
+389,7
@@
static void blowfish_msb_decrypt_cbc(unsigned char *blk, int len,
ctx->iv1 = iv1;
}
ctx->iv1 = iv1;
}
+#ifdef ENABLE_BLOWFISH_SSH2_CTR
static void blowfish_msb_sdctr(unsigned char *blk, int len,
BlowfishContext * ctx)
{
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;
}
ctx->iv0 = iv0;
ctx->iv1 = iv1;
}
+#endif
static void blowfish_setkey(BlowfishContext * ctx,
const unsigned char *key, short keybytes)
static void blowfish_setkey(BlowfishContext * ctx,
const unsigned char *key, short keybytes)