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