0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 08:14:12 +01:00

Remove code for checking ssh-keygen

This commit is contained in:
Unknwon 2016-03-19 20:31:23 -04:00
parent 3fb4f7f498
commit 004fb30ebe
3 changed files with 2 additions and 8 deletions

View file

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.13.0318"
const APP_VER = "0.9.13.0319"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

View file

@ -361,12 +361,6 @@ func NewContext() {
} else if err = os.MkdirAll(SSH.KeyTestPath, 0644); err != nil {
log.Fatal(4, "Fail to create '%s': %v", SSH.KeyTestPath, err)
}
if !filepath.IsAbs(SSH.KeygenPath) {
if _, err := exec.LookPath(SSH.KeygenPath); err != nil {
log.Fatal(4, "Fail to test '%s' command: %v (forgotten install?)", SSH.KeygenPath, err)
}
}
}
SSH.MinimumKeySizeCheck = sec.Key("MINIMUM_KEY_SIZE_CHECK").MustBool()

View file

@ -1 +1 @@
0.9.13.0318
0.9.13.0319