crypto: make crypto ctx initialization an array
authorJani Nikula <jani@nikula.org>
Mon, 14 Dec 2015 13:38:51 +0000 (09:38 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 30 Dec 2015 15:28:30 +0000 (11:28 -0400)
commitcb494f72f398bb0898030a1225f9ef6da557e959
treee6827c86eedb376abb9ab3b9b4e567d1cde4ee4a
parent4419069472195615ad856c6d46c82f2beb33202f
crypto: make crypto ctx initialization an array

Make it trivial to add handlers for new protocols without duplicating
code. No functional changes.
crypto.c