瀏覽代碼

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

Marian Beermann 9 年之前
父節點
當前提交
fcd323f22a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      borg/crypto.pyx
  2. 1 1
      borg/helpers.py

+ 1 - 1
borg/crypto.pyx

@@ -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":

+ 1 - 1
borg/helpers.py

@@ -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