summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-07-05 07:45:53 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-07-05 07:45:53 +0000
commit6e03cf77f835c2d3256ac5a90cb1ed70e43d9c0b (patch)
tree3a567e4efb577d6fb806f35e7d1584357f6f9095 /sbin
parent4b199d582e807b346819d675ec7b942f1db5c06c (diff)
Add d2i_X509_NAME
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/libcrypto.c4
-rw-r--r--sbin/isakmpd/libcrypto.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sbin/isakmpd/libcrypto.c b/sbin/isakmpd/libcrypto.c
index a438f763172..6663c3958f9 100644
--- a/sbin/isakmpd/libcrypto.c
+++ b/sbin/isakmpd/libcrypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: libcrypto.c,v 1.11 2001/01/27 15:39:55 ho Exp $ */
+/* $OpenBSD: libcrypto.c,v 1.12 2001/07/05 07:45:52 angelos Exp $ */
/* $EOM: libcrypto.c,v 1.14 2000/09/28 12:53:27 niklas Exp $ */
/*
@@ -111,6 +111,7 @@ int (*lc_i2d_RSAPublicKey) (RSA *, unsigned char **);
int (*lc_i2d_RSAPrivateKey) (RSA *, unsigned char **);
int (*lc_i2d_X509) (X509 *, unsigned char **);
int (*lc_i2d_X509_NAME) (X509_NAME *, unsigned char **);
+X509_NAME * (*lc_d2i_X509_NAME) (X509_NAME **, unsigned char **, int);
#if (SSLEAY_VERSION_NUMBER >= 0x00904100L \
&& SSLEAY_VERSION_NUMBER < 0x0090600fL)
void (*lc_sk_X509_free) (STACK_OF (X509) *);
@@ -181,6 +182,7 @@ static struct dynload_script libcrypto_script[] = {
SYMENTRY (i2d_RSAPrivateKey),
SYMENTRY (i2d_X509),
SYMENTRY (i2d_X509_NAME),
+ SYMENTRY (d2i_X509_NAME),
#if (SSLEAY_VERSION_NUMBER >= 0x00904100L \
&& SSLEAY_VERSION_NUMBER < 0x0090600fL)
SYMENTRY (sk_X509_free),
diff --git a/sbin/isakmpd/libcrypto.h b/sbin/isakmpd/libcrypto.h
index 5d667fd2b6b..28dd5b84798 100644
--- a/sbin/isakmpd/libcrypto.h
+++ b/sbin/isakmpd/libcrypto.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libcrypto.h,v 1.9 2001/01/27 15:39:55 ho Exp $ */
+/* $OpenBSD: libcrypto.h,v 1.10 2001/07/05 07:45:52 angelos Exp $ */
/* $EOM: libcrypto.h,v 1.16 2000/09/28 12:53:27 niklas Exp $ */
/*
@@ -135,6 +135,7 @@ extern int (*lc_i2d_RSAPublicKey) (RSA *, unsigned char **);
extern int (*lc_i2d_RSAPrivateKey) (RSA *, unsigned char **);
extern int (*lc_i2d_X509) (X509 *, unsigned char **);
extern int (*lc_i2d_X509_NAME) (X509_NAME *, unsigned char **);
+extern X509_NAME * (*lc_d2i_X509_NAME) (X509_NAME **, unsigned char **, int);
#if SSLEAY_VERSION_NUMBER >= 0x00904100L
extern void (*lc_sk_X509_free) (STACK_OF (X509) *);
extern STACK_OF (X509) *(*lc_sk_X509_new_null) (void);