Use relative import in pyelliptic

This commit is contained in:
shortcutme 2019-08-08 23:36:58 +02:00
parent 79ba4a9d23
commit cc21cbd1bd
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
2 changed files with 4 additions and 4 deletions

View File

@ -12,9 +12,9 @@ pyelliptic/ecc.py
from hashlib import sha512
from struct import pack, unpack
from pyelliptic.cipher import Cipher
from pyelliptic.hash import equals, hmac_sha256
from pyelliptic.openssl import OpenSSL
from .cipher import Cipher
from .hash import equals, hmac_sha256
from .openssl import OpenSSL
class ECC(object):

View File

@ -4,7 +4,7 @@
# Copyright (C) 2011 Yann GUIBET <yannguibet@gmail.com>
# See LICENSE for details.
from pyelliptic.openssl import OpenSSL
from .openssl import OpenSSL
# For python3