summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-07-13 14:13:40 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-07-13 14:13:40 +0000
commitf07f5a765e0956c75834196767bff27609481147 (patch)
treee5a852caa43ac6d7247fbda806911cca670345a1
parent11359c3650ec715988bb8093d315d9ee24baafad (diff)
Add lc_X509_verify_cert_error_string().
-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 6663c3958f9..9529ac3f070 100644
--- a/sbin/isakmpd/libcrypto.c
+++ b/sbin/isakmpd/libcrypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: libcrypto.c,v 1.12 2001/07/05 07:45:52 angelos Exp $ */
+/* $OpenBSD: libcrypto.c,v 1.13 2001/07/13 14:13:38 ho Exp $ */
/* $EOM: libcrypto.c,v 1.14 2000/09/28 12:53:27 niklas Exp $ */
/*
@@ -103,6 +103,7 @@ X509_NAME *(*lc_X509_get_subject_name) (X509 *);
X509 *(*lc_X509_new) (void);
int (*lc_X509_verify) (X509 *, EVP_PKEY *);
int (*lc_X509_verify_cert) (X509_STORE_CTX *);
+char *(*lc_X509_verify_cert_error_string) (int);
RSA *(*lc_d2i_RSAPrivateKey) (RSA **, unsigned char **, long);
RSA *(*lc_d2i_RSAPublicKey) (RSA **, unsigned char **, long);
X509 *(*lc_d2i_X509) (X509 **, unsigned char **, long);
@@ -172,6 +173,7 @@ static struct dynload_script libcrypto_script[] = {
SYMENTRY (X509_new),
SYMENTRY (X509_verify),
SYMENTRY (X509_verify_cert),
+ SYMENTRY (X509_verify_cert_error_string),
SYMENTRY (X509_STORE_get_by_subject),
SYMENTRY (X509_OBJECT_free_contents),
SYMENTRY (X509_NAME_oneline),
diff --git a/sbin/isakmpd/libcrypto.h b/sbin/isakmpd/libcrypto.h
index 28dd5b84798..1f98210f423 100644
--- a/sbin/isakmpd/libcrypto.h
+++ b/sbin/isakmpd/libcrypto.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libcrypto.h,v 1.10 2001/07/05 07:45:52 angelos Exp $ */
+/* $OpenBSD: libcrypto.h,v 1.11 2001/07/13 14:13:39 ho Exp $ */
/* $EOM: libcrypto.h,v 1.16 2000/09/28 12:53:27 niklas Exp $ */
/*
@@ -128,6 +128,7 @@ extern X509 *(*lc_X509_new) (void);
extern int (*lc_X509_verify) (X509 *, EVP_PKEY *);
extern char *(*lc_X509_NAME_oneline) (X509_NAME *, char *, int);
extern int (*lc_X509_verify_cert) (X509_STORE_CTX *);
+extern char *(*lc_X509_verify_cert_error_string) (int);
extern RSA *(*lc_d2i_RSAPrivateKey) (RSA **, unsigned char **, long);
extern RSA *(*lc_d2i_RSAPublicKey) (RSA **, unsigned char **, long);
extern X509 *(*lc_d2i_X509) (X509 **, unsigned char **, long);