summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2011-01-10 10:42:02 +0000
committerobache <obache>2011-01-10 10:42:02 +0000
commit49d8a9b959e15bc7ea2e291905ddac78748f3ade (patch)
treedb2e533dfcc6f2bcea1beaeb945379285a3f4191
parent167eadba47c5839d2f539fce2d3897dc62f949ff (diff)
downloadpkgsrc-49d8a9b959e15bc7ea2e291905ddac78748f3ade.tar.gz
Use proper OpenSSL stack API.
PR#44353 by Tony Young.
-rw-r--r--mail/mpop/distinfo3
-rw-r--r--mail/mpop/patches/patch-ah15
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/mpop/distinfo b/mail/mpop/distinfo
index b6ef33b483c..acae4224497 100644
--- a/mail/mpop/distinfo
+++ b/mail/mpop/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2007/12/27 17:59:53 joerg Exp $
+$NetBSD: distinfo,v 1.6 2011/01/10 10:42:02 obache Exp $
SHA1 (mpop-1.0.12.tar.bz2) = 4618832ddbc84a7f00e8222d1a92ef2ae1f5c60f
RMD160 (mpop-1.0.12.tar.bz2) = 7e6b609cf59535a67653040a09f2d58aa55cd6cd
Size (mpop-1.0.12.tar.bz2) = 732061 bytes
SHA1 (patch-aa) = 79a89fb4e3a64d5c40df00fba498ce44819f472f
+SHA1 (patch-ah) = b077b61112a637ea5cf76cf810d5f0d4af3dc7b1
diff --git a/mail/mpop/patches/patch-ah b/mail/mpop/patches/patch-ah
new file mode 100644
index 00000000000..d0e01b5a8dd
--- /dev/null
+++ b/mail/mpop/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.3 2011/01/10 10:42:02 obache Exp $
+
+* Use proper OpenSSL stack API.
+
+--- src/tls.c.orig 2007-07-16 20:19:37.000000000 +0000
++++ src/tls.c
+@@ -807,7 +807,7 @@ int tls_check_cert(tls_t *tls, const cha
+ char *buf;
+ int bufsize;
+ /* needed to get the DNS subjectAltNames: */
+- STACK *subj_alt_names;
++ STACK_OF(GENERAL_NAME) *subj_alt_names;
+ int subj_alt_names_count;
+ GENERAL_NAME *subj_alt_name;
+ /* did we find a name matching hostname? */