mirror of https://github.com/perkeep/perkeep.git
sigserver: fix build
Change-Id: I0e4b02a420ef2cfcae46d2d57ec99db1687df401
This commit is contained in:
parent
41fe3660c2
commit
ffb10f6ce6
|
@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// The sigserver is a stand-alone JSON signing and verification server.
|
// The sigserver is a stand-alone JSON signing and verification server.
|
||||||
//
|
//
|
||||||
// TODO(bradfitz): as of 2012-01-10 this is very old and superceded by
|
// TODO(bradfitz): as of 2012-01-10 this is very old and superceded by
|
||||||
|
@ -45,7 +44,7 @@ var flagPubKeyDir = flag.String("pubkey-dir", "test/pubkey-blobs",
|
||||||
// interface for fetching public keys is the "local, from disk"
|
// interface for fetching public keys is the "local, from disk"
|
||||||
// implementation used for testing. In reality we'd want to be able
|
// implementation used for testing. In reality we'd want to be able
|
||||||
// to fetch these from blobservers.
|
// to fetch these from blobservers.
|
||||||
var pubKeyFetcher = blobref.NewSimpleDirectoryFetcher(*flagPubKeyDir)
|
var pubKeyFetcher = blob.NewSimpleDirectoryFetcher(*flagPubKeyDir)
|
||||||
|
|
||||||
func handleRoot(conn http.ResponseWriter, req *http.Request) {
|
func handleRoot(conn http.ResponseWriter, req *http.Request) {
|
||||||
fmt.Fprintf(conn, "camsigd")
|
fmt.Fprintf(conn, "camsigd")
|
||||||
|
|
Loading…
Reference in New Issue