[balsa] Openssl has been constified
- From: Peter Bloomfield <PeterB src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [balsa] Openssl has been constified
- Date: Sun, 8 Nov 2009 23:37:48 +0000 (UTC)
commit c1f3d75dbf1f4ab9f8aaf10a73ebe87458392953
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Nov 8 18:37:38 2009 -0500
Openssl has been constified
ChangeLog | 6 ++++++
libbalsa/imap/imap-tls.c | 4 ++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 842b29d..5df0281 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-11-08 Peter Bloomfield
+ * libbalsa/imap/imap-tls.c (imap_check_server_identity): openssl
+ has been constified--second try, should build with both latest
+ and earlier openssl.
+
+2009-11-08 Peter Bloomfield
+
* libbalsa/imap/imap-tls.c (imap_check_server_identity):
revert--it's going to take more work!
diff --git a/libbalsa/imap/imap-tls.c b/libbalsa/imap/imap-tls.c
index a06c392..7e8e87f 100644
--- a/libbalsa/imap/imap-tls.c
+++ b/libbalsa/imap/imap-tls.c
@@ -265,7 +265,11 @@ imap_check_server_identity(SSL *ssl, const char *host,
#endif
STACK_OF(CONF_VALUE) *val;
CONF_VALUE *nval;
+#if (OPENSSL_VERSION_NUMBER >= 0x01000000L)
+ const X509V3_EXT_METHOD *meth;
+#else
X509V3_EXT_METHOD *meth;
+#endif
void *ext_str = NULL;
if( !(meth = X509V3_EXT_get(ext)) )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]