diff --git a/.travis.yml b/.travis.yml index 1661291115c0547fe0a9ca0df119a4acab7e9383..1a3c8bf7b7c11a9da438fc6c800b14973ef99ef4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,7 @@ script: -e CC_VERSION=${CC_VERSION} \ -e COVERAGE=${COVERAGE} \ -e TRAVIS_OS_NAME=${TRAVIS_OS_NAME} \ - nheko-reborn/mtxclient \ + nhekoreborn/mtxclient \ /bin/bash -c "./.ci/script.sh" fi @@ -67,7 +67,7 @@ after_success: - | if [ $COVERAGE == ON ]; then docker run -v `pwd`:/build \ - --net=host nheko-reborn/mtxclient \ + --net=host nhekoreborn/mtxclient \ /bin/bash -c "make -C build -j1 test_coverage && ./.ci/coverage.sh" && \ bash <(curl -s https://codecov.io/bash) -f "!*tests*" || echo "Codecov failed" fi diff --git a/tests/e2ee.cpp b/tests/e2ee.cpp index 885789b096aa8230efde2b478c67a81b10e1b667..baf58583d12fd270b6570f58acfbe0d387191d75 100644 --- a/tests/e2ee.cpp +++ b/tests/e2ee.cpp @@ -1067,9 +1067,8 @@ TEST(ExportSessions, EncryptDecrypt) EXPECT_TRUE(ciphertext.size() > 0); auto encoded = bin2base64(ciphertext); - auto decoded = base642bin(encoded); - auto restored_keys = mtx::crypto::decrypt_exported_sessions(decoded, PASS); + auto restored_keys = mtx::crypto::decrypt_exported_sessions(encoded, PASS); EXPECT_EQ(json(keys).dump(), json(restored_keys).dump()); }