2023-03-15 12:00:52 -04:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-10 21:14:03 -04:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-15 12:00:52 -04:00
|
|
|
|
2015-11-05 16:44:20 -05:00
|
|
|
package main // import "github.com/hashicorp/vault"
|
2015-03-04 02:03:24 -05:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"os"
|
|
|
|
|
|
2017-09-04 23:50:13 -04:00
|
|
|
"github.com/hashicorp/vault/command"
|
2022-12-14 15:00:08 -05:00
|
|
|
"github.com/hashicorp/vault/internal"
|
2015-03-04 02:03:24 -05:00
|
|
|
)
|
|
|
|
|
|
2022-12-14 15:00:08 -05:00
|
|
|
func init() {
|
|
|
|
|
// this is a good place to patch SHA-1 support back into x509
|
|
|
|
|
internal.PatchSha1()
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-04 02:03:24 -05:00
|
|
|
func main() {
|
2017-09-04 23:50:13 -04:00
|
|
|
os.Exit(command.Run(os.Args[1:]))
|
2015-03-04 02:03:24 -05:00
|
|
|
}
|