-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sslmate has support for SHA256 HMAC which is the default hash functio…
…n for PKCS#12 bundles with newer versions of OpenSSL/LibreSSL. Replace golang.org/x/crypto/pkcs12 software.sslmate.com/src/go-pkcs12
- Loading branch information
Showing
3 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
// replication-manager - Replication Manager Monitoring and CLI for MariaDB and MySQL | ||
// Copyright 2017-2021 SIGNAL18 CLOUD SAS | ||
// Authors: Guillaume Lefranc <[email protected]> | ||
// Stephane Varoqui <[email protected]> | ||
// | ||
// Stephane Varoqui <[email protected]> | ||
// | ||
// This source code is licensed under the GNU General Public License, version 3. | ||
package opensvc | ||
|
||
|
@@ -25,8 +27,8 @@ import ( | |
"strings" | ||
|
||
log "github.com/sirupsen/logrus" | ||
// pkcs12 "software.sslmate.com/src/go-pkcs12" | ||
"golang.org/x/crypto/pkcs12" | ||
pkcs12 "software.sslmate.com/src/go-pkcs12" | ||
//"golang.org/x/crypto/pkcs12" | ||
) | ||
|
||
type Addr struct { | ||
|
@@ -1324,7 +1326,7 @@ func (collector *Collector) getNetwork(nodeid string) ([]Addr, error) { | |
return r.Data, nil | ||
} | ||
|
||
//cycle W -> R -> T | ||
// cycle W -> R -> T | ||
func (collector *Collector) GetActionStatus(actionid string) string { | ||
|
||
tr := &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}} | ||
|