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. | |||
13 | 13 | ||
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: rsa.h,v 1.1 1999/10/27 03:42:44 damien Exp $"); */ | 16 | /* RCSID("$Id: rsa.h,v 1.2 1999/10/28 03:25:17 damien Exp $"); */ |
17 | #include "config.h" | ||
17 | 18 | ||
18 | #ifndef RSA_H | 19 | #ifndef RSA_H |
19 | #define RSA_H | 20 | #define RSA_H |
20 | 21 | ||
22 | #ifdef HAVE_OPENSSL | ||
21 | #include <openssl/bn.h> | 23 | #include <openssl/bn.h> |
22 | #include <openssl/rsa.h> | 24 | #include <openssl/rsa.h> |
25 | #endif | ||
26 | |||
27 | #ifdef HAVE_SSL | ||
28 | #include <ssl/bn.h> | ||
29 | #include <ssl/rsa.h> | ||
30 | #endif | ||
23 | 31 | ||
24 | /* Calls SSL RSA_generate_key, only copies to prv and pub */ | 32 | /* Calls SSL RSA_generate_key, only copies to prv and pub */ |
25 | void rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits); | 33 | void rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits); |