symm/cbc-def.h: Fix discarding output for short inputs.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 30 Oct 2018 10:29:39 +0000 (10:29 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 25 Nov 2018 11:38:04 +0000 (11:38 +0000)
commit460bbf886ec7118475714d395033bd90d23d328f
treeab91200d0c05b0ad497823533ed0cc128b87470e
parentab197b6b34bdb15d809945277e0e4b700db72a68
symm/cbc-def.h: Fix discarding output for short inputs.

You got a segfault if the input was smaller than the block size and the
destination pointer was null.  We need a temporary place for shuffling
the buffer around anyway, so it seems like the best approach is just to
make a (necessarily small) dummy destination.
symm/cbc-def.h