From e18a67e15cccc583827a07fbc965b7e58aad2d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 16 Jun 2015 13:01:14 +0200 Subject: [PATCH] Comment out unused pubkey code --- cmd/fdroidcl/list.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/cmd/fdroidcl/list.go b/cmd/fdroidcl/list.go index 1fd8b17..9f87e8e 100644 --- a/cmd/fdroidcl/list.go +++ b/cmd/fdroidcl/list.go @@ -4,7 +4,6 @@ package main import ( - "encoding/hex" "fmt" "log" "os" @@ -28,7 +27,6 @@ func runList(args []string) { } func mustLoadIndex() *fdroidcl.Index { - repoPubkey := "" p := indexPath(repoName) f, err := os.Open(p) if err != nil { @@ -38,11 +36,11 @@ func mustLoadIndex() *fdroidcl.Index { if err != nil { log.Fatalf("Could not stat index file: %v", err) } - pubkey, err := hex.DecodeString(repoPubkey) - if err != nil { - log.Fatalf("Could not decode public key: %v", err) - } - index, err := fdroidcl.LoadIndexJar(f, stat.Size(), pubkey) + //pubkey, err := hex.DecodeString(repoPubkey) + //if err != nil { + //log.Fatalf("Could not decode public key: %v", err) + //} + index, err := fdroidcl.LoadIndexJar(f, stat.Size(), nil) if err != nil { log.Fatalf("Could not load index: %v", err) }