aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--README.rst8
-rw-r--r--cryptography/__about__.py2
-rw-r--r--cryptography/bindings/openssl/api.py1
-rw-r--r--cryptography/bindings/openssl/crypto.py27
-rw-r--r--docs/community.rst4
-rw-r--r--docs/contributing.rst2
6 files changed, 36 insertions, 8 deletions
diff --git a/README.rst b/README.rst
index 9188106e..9e5f67ed 100644
--- a/README.rst
+++ b/README.rst
@@ -1,11 +1,11 @@
Cryptography
============
-.. image:: https://travis-ci.org/alex/cryptography.png?branch=master
- :target: https://travis-ci.org/alex/cryptography
+.. image:: https://travis-ci.org/pyca/cryptography.png?branch=master
+ :target: https://travis-ci.org/pyca/cryptography
-.. image:: https://coveralls.io/repos/alex/cryptography/badge.png?branch=master
- :target: https://coveralls.io/r/alex/cryptography?branch=master
+.. image:: https://coveralls.io/repos/pyca/cryptography/badge.png?branch=master
+ :target: https://coveralls.io/r/pyca/cryptography?branch=master
``cryptography`` is a package designed to expose cryptographic primitives and
recipes to Python developers.
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);
+"""
diff --git a/docs/community.rst b/docs/community.rst
index 809ffd12..86ba5055 100644
--- a/docs/community.rst
+++ b/docs/community.rst
@@ -10,6 +10,6 @@ You can find ``cryptography`` all over the web:
* IRC: ``#cryptography-dev`` on ``irc.freenode.net``
.. _`Mailing list`: https://mail.python.org/mailman/listinfo/cryptography-dev
-.. _`Source code`: https://github.com/alex/cryptography
-.. _`Issue tracker`: https://github.com/alex/cryptography/issues
+.. _`Source code`: https://github.com/pyca/cryptography
+.. _`Issue tracker`: https://github.com/pyca/cryptography/issues
.. _`Documentation`: https://cryptography.readthedocs.org/
diff --git a/docs/contributing.rst b/docs/contributing.rst
index 9dd14c23..8f6a178e 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -141,7 +141,7 @@ Use `tox`_ to build the documentation. For example:
The HTML documentation index can now be found at ``docs/_build/html/index.html``
-.. _`GitHub`: https://github.com/alex/cryptography
+.. _`GitHub`: https://github.com/pyca/cryptography
.. _`our mailing list`: https://mail.python.org/mailman/listinfo/cryptography-dev
.. _`PEP 8`: http://www.peps.io/8/
.. _`syntax`: http://sphinx-doc.org/domains.html#info-field-lists