Browse Source

Update ctypes_libsodium.py

auth
v3aqb 10 years ago
parent
commit
d91f7d85d4
  1. 2
      shadowsocks/crypto/ctypes_libsodium.py

2
shadowsocks/crypto/ctypes_libsodium.py

@ -42,7 +42,7 @@ def load_libsodium():
global loaded, libsodium, buf global loaded, libsodium, buf
from ctypes.util import find_library from ctypes.util import find_library
for p in ('sodium',): for p in ('sodium', 'libsodium'):
libsodium_path = find_library(p) libsodium_path = find_library(p)
if libsodium_path: if libsodium_path:
break break

Loading…
Cancel
Save