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 hashlib import sha512
from struct import pack, unpack from struct import pack, unpack
from pyelliptic.cipher import Cipher from .cipher import Cipher
from pyelliptic.hash import equals, hmac_sha256 from .hash import equals, hmac_sha256
from pyelliptic.openssl import OpenSSL from .openssl import OpenSSL
class ECC(object): class ECC(object):

View file

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