Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: openssl breakage: apache2, kdelibs3, mutt-devel



More patches which I coudn't test completly.

www/apache2:

--- modules/ssl/ssl_engine_init.c.orig  2007-12-29 00:07:53.000000000 +0900
+++ modules/ssl/ssl_engine_init.c       2009-08-26 00:25:10.000000000 +0900
@@ -531,7 +531,7 @@
             ssl_die();
         }
 
-        SSL_CTX_set_client_CA_list(ctx, (STACK *)ca_list);
+        SSL_CTX_set_client_CA_list(ctx, (STACK_OF(X509_NAME) *)ca_list);
     }
 
     /*

--- modules/ssl/ssl_engine_kernel.c.orig        2007-05-09 08:08:47.000000000 
+0900
+++ modules/ssl/ssl_engine_kernel.c     2009-08-26 00:28:39.000000000 +0900
@@ -550,7 +550,7 @@
                  * sk_X509_shift-ed the peer cert out of the chain.
                  * we put it back here for the purpose of quick_renegotiation.
                  */
-                cert_stack = sk_new_null();
+                cert_stack = sk_X509_new_null();
                 sk_X509_push(cert_stack, MODSSL_PCHAR_CAST cert);
             }
 

mail/mutt-devel:

--- mutt_ssl.c.orig     2009-06-10 14:08:29.000000000 +0900
+++ mutt_ssl.c
@@ -652,7 +652,7 @@ static int check_host (X509 *x509cert, c
   char *buf = NULL;
   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? */


-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index