Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: openssl breakage: apache2, kdelibs3, mutt-devel
In message <h70r0v$ms7$1%ger.gmane.org@localhost>
on Tue, 25 Aug 2009 14:04:15 +0000 (UTC),
christos%astron.com@localhost (Christos Zoulas) wrote:
>>> Do you know what STACK should be replaced with?
>>
>>I haven't figured it out yet, but I need to as well!
>
> Well, the real "fix" is to replace STACK with STACK_OF(type) like the rest
> of the code has done...
Yes.
As for constify of OpenSSL, some *const* are used by OpenSSL 0.9.9 and
later. (My work related to newer OpenSSL is in lang/ruby18-base/patches-d?.)
--- modules/ssl/ssl_engine_init.c.orig 2007-12-29 00:07:53.000000000 +0900
+++ modules/ssl/ssl_engine_init.c
@@ -531,7 +531,7 @@ static void ssl_init_ctx_verify(server_r
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);
}
/*
In the case of KDE, it is somewhat difficult since it use STACK as
generic type for derived stack types (<openssl/safestack.h>).
--
Takahiro Kambe <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index