mirror of https://github.com/borgbackup/borg.git
Bump API version of crypto.pyx (overlooked in c5bd7f2
)
This commit is contained in:
parent
8d3b1a5804
commit
fcd323f22a
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue