Replace RSA by an abstract asymmetric key structure.
authorAndre Noll <maan@systemlinux.org>
Mon, 28 Feb 2011 21:07:44 +0000 (22:07 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 27 Mar 2011 14:41:51 +0000 (16:41 +0200)
commitd09716570fc81b71d6ad3d5f543b5f8acf1a5e33
tree500b4281eaef4e1606ce1c3c64c3ddb0d1faf02a
parenta22e734cd89015a71d0dd7cf895799c440805847
Replace RSA by an abstract asymmetric key structure.

This declares the new structure asymmetric_key in crypt.h but does not
define it. Instead, it is defined in crypt.c so that only the functions
in this file can access the members of the structure directly.

Functions which previously took an (openssl-specific) RSA pointer
are changed to receive a pointer to struct asymmetric_key instead,
removing the requirement to include an openssl header file before
crypt.h can be included.
client_common.c
command.c
crypt.c
crypt.h
user_list.c
user_list.h