summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2016-12-05 20:51:49 -0800
committerJeff Forcier <jeff@bitprophet.org>2016-12-05 20:51:49 -0800
commitc7d52bd032ef87f8a51d64fb1b8bed4166acceb8 (patch)
tree63bbebd998055f47e47167e0999463581b6d8c44
parent8636ab06e37f8f46384d8f8d45fe0ad779c8effd (diff)
parent702dbd2d1b51bfc92edd66e09cf97f37a11d9584 (diff)
Merge branch '2.0'
-rw-r--r--paramiko/_winapi.py2
-rw-r--r--sites/www/changelog.rst3
2 files changed, 4 insertions, 1 deletions
diff --git a/paramiko/_winapi.py b/paramiko/_winapi.py
index 94bf6017..c9797d23 100644
--- a/paramiko/_winapi.py
+++ b/paramiko/_winapi.py
@@ -89,7 +89,7 @@ def handle_nonzero_success(result):
GMEM_MOVEABLE = 0x2
GlobalAlloc = ctypes.windll.kernel32.GlobalAlloc
-GlobalAlloc.argtypes = ctypes.wintypes.UINT, ctypes.c_ssize_t
+GlobalAlloc.argtypes = ctypes.wintypes.UINT, ctypes.c_size_t
GlobalAlloc.restype = ctypes.wintypes.HANDLE
GlobalLock = ctypes.windll.kernel32.GlobalLock
diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst
index c715b7bf..7b2a8ffd 100644
--- a/sites/www/changelog.rst
+++ b/sites/www/changelog.rst
@@ -2,6 +2,9 @@
Changelog
=========
+* :bug:`802 (1.17+)` (via :issue:`804`) Update our vendored Windows API module
+ to address errors of the form ``AttributeError: 'module' object has no
+ attribute 'c_ssize_t'``. Credit to Jason R. Coombs.
* :bug:`824` Fix the implementation of ``PKey.write_private_key_file`` (this
method is only publicly defined on subclasses; the fix was in the private
real implementation) so it passes the correct params to ``open()``. This bug