[New-bugs-announce] [issue30867] Add necessary macro `HAVE_OPENSSL_VERIFY_PARAM` to avoid invalid declaration

signal1587 report at bugs.python.org
Thu Jul 6 07:37:12 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue30867>
_______________________________________


More information about the New-bugs-announce mailing list