Remove duplicate code when creating client

This block of code is either redundant, or was supposed to
fetch the metadata from the remote server if it wasn't present
locally. The documentation suggests that it will only try
loading from the local server, so I erred on just removing
this chunk of code, rather than doing the less-safe thing
of downloading the initial metadata from an unverified
server.
1 file changed
tree: e4cc761066b20f75cb4c0dfcc2d623f7d49c1577
  1. src/
  2. tests/
  3. .gitignore
  4. .travis.yml
  5. appveyor.yml
  6. Cargo.toml
  7. LICENSE-APACHE
  8. LICENSE-MIT
  9. Makefile
  10. README.md
README.md

rust-tuf

Travis build Status Appveyor build status codecov

A Rust implementation of The Update Framework (TUF).

Full documentation is hosted at docs.rs.

Warning: Beta Software

This is under active development and may not suitable for production use. Further, the API is unstable and you should be prepared to refactor on even patch releases.

Contributing

Please make all pull requests to the develop branch.

Bugs

This project has a full disclosure policy on security related errors. Please treat these errors like all other bugs and file a public issue. Errors communicated via other channels will be immediately made public.

Legal

License

This work is dual licensed under the MIT and Apache-2.0 licenses. See LICENSE-MIT and LICENSE-APACHE for details.

Cryptography Notice

This software includes and uses cryptographic software. Your current country may have restrictions on the import, export, possession, or use of cryptographic software. Check your country's relevant laws before using this in any way. See Wassenaar for more info.