[PYTHON-CRYPTO] patch to fix some compiler warnings
Matthew Rodriguez DSD staff
MKRodriguez at LBL.GOV
Mon Nov 7 20:50:46 CET 2005
This patch fixes these warnings. The SSL_CTX_set_tmp_dh/rsa are macros,
which expand to SSL_CTX_ctrl. If we add a return statement the compiler
shuts up.
SWIG/_m2crypto.c: In function `ssl_ctx_set_tmp_rsa':
SWIG/_m2crypto.c:4182: warning: control reaches end of non-void function
SWIG/_m2crypto.c: In function `ssl_ctx_set_tmp_dh':
SWIG/_m2crypto.c:4171: warning: control reaches end of non-void function
This patch was made using the 0.15 branch
Matt Rodriguez
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch._ssl.i
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20051107/e397d21f/attachment.ksh>
More information about the python-crypto
mailing list