aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-04 21:12:10 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-04 21:12:10 -0700
commit89ce40612a1e88e894901c0a86a17c0e55043689 (patch)
treee36e43b031da8d3c7727f03552aa494a1f7faada /cryptography
parentce916866892230ac6e2e793e4b1a59eb5424a0ff (diff)
parent07877f48d4e04e456b708b8e8bdf9e8feff79837 (diff)
downloadcryptography-89ce40612a1e88e894901c0a86a17c0e55043689.tar.gz
cryptography-89ce40612a1e88e894901c0a86a17c0e55043689.tar.bz2
cryptography-89ce40612a1e88e894901c0a86a17c0e55043689.zip
Merge branch 'master' into bind-dsa
Conflicts: cryptography/bindings/openssl/api.py
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/__about__.py2
-rw-r--r--cryptography/bindings/openssl/api.py1
-rw-r--r--cryptography/bindings/openssl/crypto.py27
3 files changed, 29 insertions, 1 deletions
diff --git a/cryptography/__about__.py b/cryptography/__about__.py
index 6499ff2b..e5eca6c6 100644
--- a/cryptography/__about__.py
+++ b/cryptography/__about__.py
@@ -20,7 +20,7 @@ __all__ = [
__title__ = "cryptography"
__summary__ = ("cryptography is a package designed to expose cryptographic "
"primitives and recipes to Python developers.")
-__uri__ = "https://github.com/alex/cryptography"
+__uri__ = "https://github.com/pyca/cryptography"
__version__ = "0.1.dev1"
diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py
index 99045fd2..673088ad 100644
--- a/cryptography/bindings/openssl/api.py
+++ b/cryptography/bindings/openssl/api.py
@@ -26,6 +26,7 @@ class API(object):
"""
_modules = [
"bignum",
+ "crypto",
"dsa",
"evp",
"opensslv",
diff --git a/cryptography/bindings/openssl/crypto.py b/cryptography/bindings/openssl/crypto.py
new file mode 100644
index 00000000..0f40d5b6
--- /dev/null
+++ b/cryptography/bindings/openssl/crypto.py
@@ -0,0 +1,27 @@
+# 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/crypto.h>
+"""
+
+TYPES = """
+"""
+
+FUNCTIONS = """
+void CRYPTO_free(void *);
+"""
+
+MACROS = """
+void CRYPTO_add(int *, int, int);
+"""