]> www.wagner.pp.ru Git - oss/ctypescrypto.git/blobdiff - ctypescrypto/__init__.py
Initial commit of modules
[oss/ctypescrypto.git] / ctypescrypto / __init__.py
diff --git a/ctypescrypto/__init__.py b/ctypescrypto/__init__.py
new file mode 100644 (file)
index 0000000..b6d00ca
--- /dev/null
@@ -0,0 +1,9 @@
+"""
+       Interface to some libcrypto functions
+
+"""
+
+from ctypes import CDLL
+
+libcrypto = CDLL("libcrypto.so.1.0.0")
+libcrypto.OPENSSL_config(None)