Anders Johansson skrev:
On Saturday 23 September 2006 14:38, Anders Norrbring wrote:
Do you mean #ifndef PEM_F_DEF_CALLBACK #define PEM_F_DEF_CALLBACK PEM_F_DEF_CB #endif
According to Anders, it should be PEM_F_PEM_DEF_CALLBACK and not PEM_F_DEF_CB.. Haven't tested any of them yet, though.
In 2.0.59 you have, on line 117 of ssl_toolkit_compat.h
#ifndef PEM_F_DEF_CALLBACK #ifdef PEM_F_PEM_DEF_CALLBACK /* In OpenSSL 0.9.8 PEM_F_DEF_CALLBACK was renamed */ #define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK #endif #endif
This should work
I was hoping for that too... Made a patch for ssl_toolkit_compat.h, so now it reads: #ifndef PEM_F_DEF_CALLBACK #define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK #endif But when running the rpmbuild, I get this again: ssl_engine_pphrase.c: In function ‘ssl_pphrase_Handle_CB’: ssl_engine_pphrase.c:684: error: ‘PEM_F_DEF_CALLBACK’ undeclared (first use in this function) ssl_engine_pphrase.c:684: error: (Each undeclared identifier is reported only once (Yeah, I know, I need an UTF-8 compatible SSH.. ;) ) So, it seems like the redefinition in the header file doesn't "bite" for some reason. I'll try to patch the c-file instead. Or even try the 2.0.59 source, but guess that'll break some other patches in the .54 source rpm... -- Anders Norrbring Norrbring Consulting