diff options
author | Damien Miller <djm@mindrot.org> | 1999-10-28 13:25:17 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-10-28 13:25:17 +1000 |
commit | 7f6ea0264d01aa40b20df8dc75141631479da054 (patch) | |
tree | a30aa324db2b41c64e1216ce73b7b7468e5ff706 /rsa.h | |
parent | 3d112efc672b877c74893229d3fd30f99489b9ff (diff) |
- Integrated patch from Dan Brosemer <odin@linuxfreak.com>
- Build fixes
- Autoconf
- Change binary names to open*
- Fixed autoconf script to detect PAM on RH6.1
- Added tests for libpwdb, and OpenBSD functions to autoconf (not used yet)
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); |