Skip to content

Commit

Permalink
Merge branch '2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Dec 6, 2016
2 parents 8636ab0 + 702dbd2 commit c7d52bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion paramiko/_winapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions sites/www/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7d52bd

Please sign in to comment.