1
0
Fork 0
forked from External/ergo

Fixing warnings and golint stuff

This commit is contained in:
Daniel Oaks 2016-10-13 17:36:44 +10:00
parent 09802f7181
commit e807f3ca04
8 changed files with 25 additions and 13 deletions

View file

@ -37,7 +37,7 @@ func (conf *TLSListenConfig) Config() (*tls.Config, error) {
}
func (conf *PassConfig) PasswordBytes() []byte {
bytes, err := DecodePassword(conf.Password)
bytes, err := DecodePasswordHash(conf.Password)
if err != nil {
log.Fatal("decode password error: ", err)
}