Browse Source

Merge pull request #237 from v3aqb/patch-1

Update ctypes_libsodium.py
auth
clowwindy 10 years ago
parent
commit
707b5c1def
  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