Skip to content

Commit 67d942e

Browse files
authored
Merge pull request #66 from python-otr/issue#65-case_sensitive
attempt at a quick fix for issue #65
2 parents b3c98f7 + 65d4aa4 commit 67d942e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/potr/compatcrypto/pycrypto.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
# You should have received a copy of the GNU Lesser General Public License
1616
# along with this library. If not, see <http://www.gnu.org/licenses/>.
1717

18+
try:
19+
import Crypto
20+
except ImportError:
21+
import crypto as Crypto
22+
1823
from Crypto import Cipher
1924
from Crypto.Hash import SHA256 as _SHA256
2025
from Crypto.Hash import SHA as _SHA1

0 commit comments

Comments
 (0)