New submission from signal1587:

Compile Python (2.7.13) on platform which has OpenSSL (<0.9.8) will met error:

  /opt/Python-2.7.13/Modules/_ssl.c:177: error: syntax error before ‘*’ token

Since return type `X509_VERIFY_PARAM` got added to OpenSSL in version 0.9.8.

Surround the implementation of function `X509_STORE_get0_param` in (#ifdef 
HAVE_OPENSSL_VERIFY_PARAM ... #endif) guarantee to solve this problem.

----------
assignee: christian.heimes
components: SSL
files: _ssl.patch
keywords: patch
messages: 297825
nosy: christian.heimes, signal1587
priority: normal
severity: normal
status: open
title: Add necessary macro `HAVE_OPENSSL_VERIFY_PARAM` to avoid invalid 
declaration
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file46993/_ssl.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30867>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to