summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/rsa.h b/rsa.h
index 6aaabfae5..98a183f57 100644
--- a/rsa.h
+++ b/rsa.h
@@ -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 */
25void rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits); 33void rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits);