aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-12-16 13:32:42 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-12-19 14:57:29 +0100
commitdea6fe3d895d3ddfa23d67b07c3dccdbb2839366 (patch)
tree35b81c61107a81b6317e06146363f840de14f666 /include
parent6cd8d4a24aa067d16611eb64bf306b7853748f34 (diff)
downloadlibssh-dea6fe3d895d3ddfa23d67b07c3dccdbb2839366.tar.gz
libssh-dea6fe3d895d3ddfa23d67b07c3dccdbb2839366.tar.xz
libssh-dea6fe3d895d3ddfa23d67b07c3dccdbb2839366.zip
crypto: Disable blowfish support by default
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index 454dacf7..0160bafc 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -76,7 +76,9 @@ enum ssh_key_exchange_e {
enum ssh_cipher_e {
SSH_NO_CIPHER=0,
+#ifdef WITH_BLOWFISH_CIPHER
SSH_BLOWFISH_CBC,
+#endif /* WITH_BLOWFISH_CIPHER */
SSH_3DES_CBC,
SSH_AES128_CBC,
SSH_AES192_CBC,