server: fix build
This commit is contained in:
parent
122e1a87ce
commit
3eb215f747
|
@ -190,7 +190,7 @@ func (s *Server) restore() error {
|
|||
var block *pem.Block
|
||||
|
||||
block, _ = pem.Decode([]byte(rt.OnionKey))
|
||||
pKey, err := x509.ParsePKCS1PrivateKey(block.Bytes)
|
||||
_, err := x509.ParsePKCS1PrivateKey(block.Bytes)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue