Skip to content

Commit

Permalink
Final 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Mar 31, 2024
1 parent 76e878a commit 707f469
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions oqs/oqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def oqs_python_version():

# liboqs-python tries to automatically install and load this liboqs version in
# case no other version is found
OQS_VERSION = oqs_python_version()
REQUIRE_OQS_VERSION = oqs_python_version()


def _countdown(seconds):
Expand Down Expand Up @@ -120,7 +120,9 @@ def _load_liboqs():
assert _liboqs
except RuntimeError:
# We don't have liboqs, so we try to install it automatically
_install_liboqs(target_directory=oqs_install_dir, oqs_version=OQS_VERSION)
_install_liboqs(
target_directory=oqs_install_dir, oqs_version=REQUIRE_OQS_VERSION
)
# Try loading it again
try:
_liboqs = _load_shared_obj(
Expand Down

0 comments on commit 707f469

Please sign in to comment.