X-Git-Url: https://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fbio.py;h=ae89aa3bac354b9e934002b3c40e2c1820fec96f;hb=72a7754bfee5206288d9211b740dae7b2ca9618b;hp=a33310572cdc54213a70c10881044e0bce0c6fc9;hpb=95a6e6a2c24635d189b408b3cc4dc739e1fe7641;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/bio.py b/ctypescrypto/bio.py index a333105..ae89aa3 100644 --- a/ctypescrypto/bio.py +++ b/ctypescrypto/bio.py @@ -83,6 +83,8 @@ class Membio: Resets the read-only bio to start and discards all data from writable bio """ libcrypto.BIO_ctrl(self.bio,1,0,None) + +__all__ = ['Membio'] libcrypto.BIO_s_mem.restype=c_void_p libcrypto.BIO_new.restype=c_void_p libcrypto.BIO_new.argtypes=(c_void_p,)