aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-15 14:55:03 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-15 14:55:03 -0700
commit760dbf004fe52ebbe5ddafd39bea2c9535634f73 (patch)
tree1f558f0f4a7f48881159a6fea8195b490d181854
parent7189fed2039bbc30e7b442d4d77cb0670ac3453d (diff)
parentf4734dbf62bcda7a8e49e11786d411eaa5a76f83 (diff)
downloadcryptography-760dbf004fe52ebbe5ddafd39bea2c9535634f73.tar.gz
cryptography-760dbf004fe52ebbe5ddafd39bea2c9535634f73.tar.bz2
cryptography-760dbf004fe52ebbe5ddafd39bea2c9535634f73.zip
Merge pull request #102 from reaperhulk/openssl-conf-support
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 = """
+"""