[OpenSIPS-Devel] patch for compatibility with openssl-1.0.0

John Khvatov ivaxer at gmail.com
Sun Nov 8 21:18:08 CET 2009

Hi Bogdan,

On Sun, Nov 8, 2009 at 9:42 PM, Bogdan-Andrei Iancu
<bogdan at voice-system.ro> wrote:
> Hi John,
> I tested the patch and seams ok, but I want to be sure we do not break the
> compiling for some older versions of OpenSSL. So, what is the version when
> this change was done in OpenSSL ?
> Thanks and regards,
> Bogdan
I've looked at first available version of sample application
'ciphers.c' in cvs.openssl
(http://cvs.openssl.org/rlog?f=openssl/apps/ciphers.c). Macroses
sk_SSL_CIPHER_{num,value} are available since April 1999. So, patched
code will work since 0.9.3 version of OpenSSL.
Which version is required for OpenSIPS? If older than 0.9.3 I will
continue to research.

> John Khvatov wrote:
>> Hello all!
>> Fedora 12 will be with new OpenSSL. Could you apply this patch?
>> Current version of the code fails to build:
>> tls/tls_init.c: In function 'check_for_krb':
>> tls/tls_init.c:470: error: 'struct stack_st_SSL_CIPHER' has no member
>> named 'num'
>> tls/tls_init.c:471: error: 'struct stack_st_SSL_CIPHER' has no member
>> named 'data'
>> make: *** [tls/tls_init.o] Error 1

WBR, John Khvatov

More information about the Devel mailing list