Use relative import in pyelliptic
This commit is contained in:
parent
79ba4a9d23
commit
cc21cbd1bd
2 changed files with 4 additions and 4 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue