diff session.h @ 1673:e0871128e61f

CBC mode cleanup (#95) * Fix CBC mode can't be fully disabled * Fix CBC mode can't be the only mode
author Vladislav Grishenko <themiron@users.noreply.github.com>
date Mon, 25 May 2020 20:55:13 +0500
parents 3a97f14c0235
children 41bf8f216644
line wrap: on
line diff
--- a/session.h	Mon May 25 20:50:25 2020 +0500
+++ b/session.h	Mon May 25 20:55:13 2020 +0500
@@ -79,7 +79,9 @@
 #endif
 	/* actual keys */
 	union {
+#if DROPBEAR_ENABLE_CBC_MODE
 		symmetric_CBC cbc;
+#endif
 #if DROPBEAR_ENABLE_CTR_MODE
 		symmetric_CTR ctr;
 #endif