Author: arekm                        Date: Fri May 27 11:40:32 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 10; load cert chain and not only one cert

---- Files affected:
packages/tpop3d:
   tpop3d.spec (1.103 -> 1.104) , tpop3d-ssl-chain.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/tpop3d/tpop3d.spec
diff -u packages/tpop3d/tpop3d.spec:1.103 packages/tpop3d/tpop3d.spec:1.104
--- packages/tpop3d/tpop3d.spec:1.103   Thu Mar 31 20:09:34 2011
+++ packages/tpop3d/tpop3d.spec Fri May 27 13:40:27 2011
@@ -17,7 +17,7 @@
 Summary(pl.UTF-8):     Serwer POP3
 Name:          tpop3d
 Version:       1.5.5
-Release:       9
+Release:       10
 License:       GPL
 Group:         Networking/Daemons/POP3
 Source0:       
http://download.savannah.nongnu.org/releases/tpop3d/%{name}-%{version}.tar.gz
@@ -29,6 +29,7 @@
 Patch1:                %{name}-pam-vdomain.patch
 Patch2:                %{name}-sql-getpwuid-optional.patch
 Patch3:                %{name}-lib.patch
+Patch4:                %{name}-ssl-chain.patch
 URL:           https://savannah.nongnu.org/projects/tpop3d
 BuildRequires: autoconf
 BuildRequires: automake
@@ -117,6 +118,7 @@
 %patch2 -p0
 %endif
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__aclocal}
@@ -186,6 +188,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104  2011/05/27 11:40:27  arekm
+- rel 10; load cert chain and not only one cert
+
 Revision 1.103  2011/03/31 18:09:34  arekm
 - release 9
 

================================================================
Index: packages/tpop3d/tpop3d-ssl-chain.patch
diff -u /dev/null packages/tpop3d/tpop3d-ssl-chain.patch:1.1
--- /dev/null   Fri May 27 13:40:32 2011
+++ packages/tpop3d/tpop3d-ssl-chain.patch      Fri May 27 13:40:27 2011
@@ -0,0 +1,11 @@
+--- tpop3d-1.5.5/tls.c~        2008-03-31 21:37:15.000000000 +0200
++++ tpop3d-1.5.5/tls.c 2011-05-27 13:32:43.301930932 +0200
+@@ -96,7 +96,7 @@
+ 
+     /* Load certificate, and, if specified, separate private key. */
+     SSL_CTX_set_default_passwd_cb_userdata(ctx, (void*)certfile);
+-    if ((ret = SSL_CTX_use_certificate_file(ctx, certfile, SSL_FILETYPE_PEM)) 
<= 0) {
++    if ((ret = SSL_CTX_use_certificate_chain_file(ctx, certfile)) <= 0) {
+         log_print(LOG_ERR, "tls_create_context: %s: %s", certfile, 
ERR_reason_error_string(ERR_get_error()));
+         SSL_CTX_free(ctx);
+         return NULL;
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tpop3d/tpop3d.spec?r1=1.103&r2=1.104&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to