open-vault/main.go

21 lines
372 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package main // import "github.com/hashicorp/vault"
2015-03-04 07:03:24 +00:00
import (
"os"
"github.com/hashicorp/vault/command"
"github.com/hashicorp/vault/internal"
2015-03-04 07:03:24 +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() {
os.Exit(command.Run(os.Args[1:]))
2015-03-04 07:03:24 +00:00
}