server: fix build

This commit is contained in:
Cadey Ratio 2017-04-05 22:16:45 -07:00
parent 122e1a87ce
commit 3eb215f747
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func (s *Server) restore() error {
var block *pem.Block var block *pem.Block
block, _ = pem.Decode([]byte(rt.OnionKey)) block, _ = pem.Decode([]byte(rt.OnionKey))
pKey, err := x509.ParsePKCS1PrivateKey(block.Bytes) _, err := x509.ParsePKCS1PrivateKey(block.Bytes)
if err != nil { if err != nil {
return err return err
} }