|
|
@ -1,7 +1,6 @@
|
|
|
|
package certinject
|
|
|
|
package certinject
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"github.com/hlandau/xlog"
|
|
|
|
|
|
|
|
"gopkg.in/hlandau/easyconfig.v1/cflag"
|
|
|
|
"gopkg.in/hlandau/easyconfig.v1/cflag"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -9,8 +8,6 @@ import (
|
|
|
|
// store.
|
|
|
|
// store.
|
|
|
|
// Currently only supports Windows CryptoAPI and NSS sqlite3 stores.
|
|
|
|
// Currently only supports Windows CryptoAPI and NSS sqlite3 stores.
|
|
|
|
|
|
|
|
|
|
|
|
var log, Log = xlog.New("ncdns.certinject")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
cryptoApiFlag = cflag.Bool(flagGroup, "cryptoapi", false,
|
|
|
|
cryptoApiFlag = cflag.Bool(flagGroup, "cryptoapi", false,
|
|
|
|
"Synchronize TLS certs to the CryptoAPI trust store? This "+
|
|
|
|
"Synchronize TLS certs to the CryptoAPI trust store? This "+
|
|
|
|