]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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)
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.


No differences found