X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2F__init__.py;h=ebf8c41a7750e6c9dd3a2bc31976c4df65270489;hb=2feb549a3199f6d503adc81d7b32a20ab970c553;hp=27ad0c50b8a9efa0f91a851a7381e83cb9f7a809;hpb=b4ee51a0aca14c0af5853545b9e524cc1b57b656;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/__init__.py b/ctypescrypto/__init__.py index 27ad0c5..ebf8c41 100644 --- a/ctypescrypto/__init__.py +++ b/ctypescrypto/__init__.py @@ -3,6 +3,7 @@ """ + from ctypes import CDLL,c_char_p def config(filename=None): @@ -12,6 +13,8 @@ def config(filename=None): """ libcrypto.OPENSSL_config(filename) +__all__ = ['bio','cipher','cms','config','digest','ec','engine','exception','oid','pbkdf2','pkey','rand','x509'] + libcrypto = CDLL("libcrypto.so.1.0.0") libcrypto.OPENSSL_config.argtypes=(c_char_p,) libcrypto.OPENSSL_add_all_algorithms_conf()