]> wagner.pp.ru Git - oss/ctypescrypto.git/commitdiff
fix typo
authorVictor Wagner <vitus@wagner.pp.ru>
Wed, 22 Jun 2016 13:48:17 +0000 (16:48 +0300)
committerVictor Wagner <vitus@wagner.pp.ru>
Wed, 22 Jun 2016 13:48:17 +0000 (16:48 +0300)
ctypescrypto/x509.py

index 51f553a2dc09afb5225a35cd7e440c06f58c3737..ed47cf5e1ba6989a2f93fc9009f22069936d920e 100644 (file)
@@ -677,7 +677,7 @@ libcrypto.X509_NAME_print_ex.argtypes = (c_void_p, c_void_p, c_int, c_ulong)
 libcrypto.X509_PURPOSE_get_by_sname.argtypes=(c_char_p,)
 libcrypto.X509_verify.argtypes = (c_void_p, c_void_p)
 libcrypto.X509_verify_cert.argtypes = (c_void_p,)
-libcrypto.sk_num.restupe = c_int
+libcrypto.sk_num.restype = c_int
 libcrypto.sk_num.argtypes= (c_void_p,)
 libcrypto.sk_set.argtypes = (c_void_p, c_int, c_void_p)
 libcrypto.sk_set.restype = c_void_p