summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/libcrypto.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-01-27 15:39:56 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-01-27 15:39:56 +0000
commit894f758b8cb6917aceac129069fada41cdd0dab7 (patch)
tree76e46ac416088ca2b6ebd7acaab34c1eb12b0340 /sbin/isakmpd/libcrypto.c
parent83ddad5afb1ef8895859420fadb7e75c955c52fe (diff)
Call OpenSSL functions with LC (). Various style nits.
Diffstat (limited to 'sbin/isakmpd/libcrypto.c')
-rw-r--r--sbin/isakmpd/libcrypto.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/isakmpd/libcrypto.c b/sbin/isakmpd/libcrypto.c
index d03eb2b5b07..a438f763172 100644
--- a/sbin/isakmpd/libcrypto.c
+++ b/sbin/isakmpd/libcrypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: libcrypto.c,v 1.10 2001/01/27 12:03:33 niklas Exp $ */
+/* $OpenBSD: libcrypto.c,v 1.11 2001/01/27 15:39:55 ho Exp $ */
/* $EOM: libcrypto.c,v 1.14 2000/09/28 12:53:27 niklas Exp $ */
/*
@@ -59,10 +59,13 @@ BIO *(*lc_BIO_new) (BIO_METHOD *type);
int (*lc_BIO_write) (BIO *, char *, int);
BIO_METHOD *(*lc_BIO_s_file) (void);
BIO_METHOD *(*lc_BIO_s_mem) (void);
+BIGNUM *(*lc_BN_bin2bn) (const unsigned char *, int, BIGNUM *);
+int (*lc_BN_num_bits) (const BIGNUM *);
int (*lc_BN_print_fp) (FILE *, BIGNUM *);
char *(*lc_PEM_ASN1_read_bio) (char *(*) (), char *, BIO *, char **,
int (*) ());
void (*lc_RSA_free) (RSA *);
+RSA *(*lc_RSA_new) (void);
RSA *(*lc_RSA_generate_key) (int, unsigned long, void (*) (int, int, char *),
char *);
int (*lc_RSA_private_encrypt) (int, unsigned char *, unsigned char *, RSA *,