chiark / gitweb /
site: Break out separate function for decrypting msg0
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 20 Jun 2012 22:38:14 +0000 (23:38 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 Jul 2012 19:02:21 +0000 (20:02 +0100)
commit065e1922e00c787775b595badce0e40a999a6afb
tree107053efb6215925a0116c18c46c9e08f350e89b
parentff7cdc9ea887dfef812d914ba4f0a3e62f4c0e58
site: Break out separate function for decrypting msg0

The control flow here is going to become more complicated, and this
change will make the next patches, and the resulting code, clearer.

Note that process_msg0's return value is never used; it is only
defined to return bool_t so that it can use the CHECK_AVAIL macro.
Knowing this will make it easier to see that the patch is correct.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c