diff options
Diffstat (limited to 'rsa.h')
-rw-r--r-- | rsa.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -13,13 +13,21 @@ RSA key generation, encryption and decryption. */ -/* RCSID("$Id: rsa.h,v 1.1 1999/10/27 03:42:44 damien Exp $"); */ +/* RCSID("$Id: rsa.h,v 1.2 1999/10/28 03:25:17 damien Exp $"); */ +#include "config.h" #ifndef RSA_H #define RSA_H +#ifdef HAVE_OPENSSL #include <openssl/bn.h> #include <openssl/rsa.h> +#endif + +#ifdef HAVE_SSL +#include <ssl/bn.h> +#include <ssl/rsa.h> +#endif /* Calls SSL RSA_generate_key, only copies to prv and pub */ void rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits); |