summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@users.noreply.github.com>2020-05-25 20:55:13 +0500
committerGitHub <noreply@github.com>2020-05-25 23:55:13 +0800
commit61267f85035c0c77059992f50ef20f62e192ba04 (patch)
tree277fd59ff5861e76eb98949652fa27fc8ab00dcb /session.h
parentd3d0d60076dd598f1e7aafbe564ff714cc3c19a9 (diff)
CBC mode cleanup (#95)
* Fix CBC mode can't be fully disabled * Fix CBC mode can't be the only mode
Diffstat (limited to 'session.h')
-rw-r--r--session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.h b/session.h
index 01416c9..0cf4280 100644
--- a/session.h
+++ b/session.h
@@ -79,7 +79,9 @@ struct key_context_directional {
#endif
/* actual keys */
union {
+#if DROPBEAR_ENABLE_CBC_MODE
symmetric_CBC cbc;
+#endif
#if DROPBEAR_ENABLE_CTR_MODE
symmetric_CTR ctr;
#endif