X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fx509.py;h=ed47cf5e1ba6989a2f93fc9009f22069936d920e;hb=1c45d3f211f72ce19c9e92be868c15afe5e6ec62;hp=2226ed987ca8878059049112f58b23c30e225fe2;hpb=3d2279c5056b4035cbed9b53749ebf5a2c48a333;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/x509.py b/ctypescrypto/x509.py index 2226ed9..ed47cf5 100644 --- a/ctypescrypto/x509.py +++ b/ctypescrypto/x509.py @@ -641,6 +641,7 @@ libcrypto.X509_STORE_new.restype = c_void_p libcrypto.X509_STORE_add_lookup.restype = c_void_p libcrypto.X509_STORE_add_lookup.argtypes = (c_void_p, c_void_p) libcrypto.X509_STORE_add_cert.argtypes = (c_void_p, c_void_p) +libcrypto.X509_STORE_CTX_new.restype = c_void_p libcrypto.X509_STORE_CTX_free.argtypes = (c_void_p,) libcrypto.X509_STORE_CTX_init.argtypes = (c_void_p, c_void_p, c_void_p, c_void_p) @@ -676,13 +677,14 @@ 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 libcrypto.sk_value.argtypes = (c_void_p, c_int) libcrypto.sk_value.restype = c_void_p libcrypto.sk_delete.argtypes = (c_void_p, c_int) +libcrypto.sk_delete.restype = c_void_p libcrypto.sk_new_null.restype = c_void_p libcrypto.sk_pop_free.argtypes = (c_void_p, c_void_p) libcrypto.sk_push.argtypes = (c_void_p, c_void_p)