Bump API version of crypto.pyx (overlooked in c5bd7f2)

This commit is contained in:
Marian Beermann 2016-04-23 11:39:42 +02:00
parent 8d3b1a5804
commit fcd323f22a
No known key found for this signature in database
GPG Key ID: 9B8450B91D1362C1
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ This could be replaced by PyCrypto maybe?
from libc.stdlib cimport malloc, free
from cpython.buffer cimport PyBUF_SIMPLE, PyObject_GetBuffer, PyBuffer_Release
API_VERSION = 2
API_VERSION = 3
cdef extern from "openssl/rand.h":

View File

@ -79,7 +79,7 @@ def check_extension_modules():
raise ExtensionModuleError
if chunker.API_VERSION != 2:
raise ExtensionModuleError
if crypto.API_VERSION != 2:
if crypto.API_VERSION != 3:
raise ExtensionModuleError
if platform.API_VERSION != 2:
raise ExtensionModuleError