X-Git-Url: https://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fbio.py;h=642b96b72c140c5c74382bf01a1c5fd8823d6c55;hb=8afcf4f352ef2f967adbe84837d4abc5e9b6ee0c;hp=92de35c5dd27fe4eba15966b038e6aa24590d732;hpb=525eda99ba5ee2791615aa3c172b0b5bbb481724;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/bio.py b/ctypescrypto/bio.py index 92de35c..642b96b 100644 --- a/ctypescrypto/bio.py +++ b/ctypescrypto/bio.py @@ -64,3 +64,6 @@ libcrypto.BIO_ctrl.restype=c_long libcrypto.BIO_ctrl.argtypes=(c_void_p,c_int,c_long,POINTER(c_char_p)) libcrypto.BIO_read.argtypes=(c_void_p,c_char_p,c_int) libcrypto.BIO_write.argtypes=(c_void_p,c_char_p,c_int) +libcrypto.BIO_free.argtypes=(c_void_p,) +libcrypto.BIO_new_mem_buf.restype=c_void_p +libcrypto.BIO_new_mem_buf.argtypes=(c_char_p,c_int)