aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-14 21:36:43 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-14 21:36:43 -0500
commitf4734dbf62bcda7a8e49e11786d411eaa5a76f83 (patch)
tree6fab1ac1022798de96b2ae1e84ea71dbf5685321
parent6206e1ee59d9d1abd9757d247a3f001b2dc5476a (diff)
downloadcryptography-f4734dbf62bcda7a8e49e11786d411eaa5a76f83.tar.gz
cryptography-f4734dbf62bcda7a8e49e11786d411eaa5a76f83.tar.bz2
cryptography-f4734dbf62bcda7a8e49e11786d411eaa5a76f83.zip
skeleton openssl conf support refs #77
-rw-r--r--cryptography/bindings/openssl/api.py1
-rw-r--r--cryptography/bindings/openssl/conf.py26
2 files changed, 27 insertions, 0 deletions
diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py
index ed3576aa..19391c68 100644
--- a/cryptography/bindings/openssl/api.py
+++ b/cryptography/bindings/openssl/api.py
@@ -26,6 +26,7 @@ class API(object):
"""
_modules = [
"bignum",
+ "conf",
"crypto",
"dh",
"dsa",
diff --git a/cryptography/bindings/openssl/conf.py b/cryptography/bindings/openssl/conf.py
new file mode 100644
index 00000000..85c7a210
--- /dev/null
+++ b/cryptography/bindings/openssl/conf.py
@@ -0,0 +1,26 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+INCLUDES = """
+#include <openssl/conf.h>
+"""
+
+TYPES = """
+typedef ... CONF;
+"""
+
+FUNCTIONS = """
+"""
+
+MACROS = """
+"""