2015-11-05 21:44:20 +00:00
|
|
|
package main // import "github.com/hashicorp/vault"
|
2015-03-04 07:03:24 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
|
2017-09-05 03:50:13 +00:00
|
|
|
"github.com/hashicorp/vault/command"
|
2022-12-14 20:00:08 +00:00
|
|
|
"github.com/hashicorp/vault/internal"
|
2015-03-04 07:03:24 +00:00
|
|
|
)
|
|
|
|
|
2022-12-14 20:00:08 +00:00
|
|
|
func init() {
|
|
|
|
// this is a good place to patch SHA-1 support back into x509
|
|
|
|
internal.PatchSha1()
|
|
|
|
}
|
|
|
|
|
2015-03-04 07:03:24 +00:00
|
|
|
func main() {
|
2017-09-05 03:50:13 +00:00
|
|
|
os.Exit(command.Run(os.Args[1:]))
|
2015-03-04 07:03:24 +00:00
|
|
|
}
|