Hello,
 
The attached patches were created against openssl-SNAP-20041123 and addresses the following compile errors:
 
1) Any non-win32 platform that does not provide <strings.h> will fail to compile crypto/o_str.c due to faulty ifdef logic. I originally observed this problem when building with Tornado 5.4 for powerpc, but it seems likely that other platforms would be affected as well. The patch modifies crypto/o_str.c to include "e_os.h", which already contains logic for including <strings.h> and/or declaring strcasecmp.
 
2) WindRiver's Diab 5.5 compiler gets confused when a function typedef is defined in the parameter list of a function definition (so do I, for that matter...). The patch adds a "SSL_INFO_CB" typedef to ssl/ssl.h which is used in ssl/ssl_lib.c:SSL_{get,set}_info_callback.
 
I'm not sure if this is the proper channel for submitting patches. If it is not, could somebody please direct me to the appropriate forum?
 
Thanks,
-Shawn
 

Attachment: openssl-port.patch
Description: Binary data

Reply via email to