summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteve Cohen <steve@uscohens.com>2015-02-17 13:47:03 -0500
committerJeff Forcier <jeff@bitprophet.org>2015-09-30 14:05:46 -0700
commita436b9f1087752b60bc31d73306bdac1229d1118 (patch)
tree0cb9e3eec1195f2127dddc21b5b1fff9728d4f78
parentaef405c9adc3ca087b21836d4a2ee56e05a2b3c4 (diff)
Typo causes failure if Putty Pageant is running.
-rw-r--r--paramiko/_winapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/_winapi.py b/paramiko/_winapi.py
index d6aabf76..cf4d68e5 100644
--- a/paramiko/_winapi.py
+++ b/paramiko/_winapi.py
@@ -219,8 +219,8 @@ class SECURITY_ATTRIBUTES(ctypes.Structure):
@descriptor.setter
def descriptor(self, value):
- self._descriptor = descriptor
- self.lpSecurityDescriptor = ctypes.addressof(descriptor)
+ self._descriptor = value
+ self.lpSecurityDescriptor = ctypes.addressof(value)
def GetTokenInformation(token, information_class):
"""