Fix https://github.com/matthieugrieger/mumbledj/issues/162: Key is no longer mistakenly overwritten by cert
This commit is contained in:
parent
cb1bc84323
commit
d0becb9c10
|
@ -1,6 +1,9 @@
|
|||
MumbleDJ Changelog
|
||||
==================
|
||||
|
||||
### June 29, 2016 -- `v3.0.10`
|
||||
* Fixed issue related to PEM keys being overwritten by PEM certs.
|
||||
|
||||
### June 28, 2016 -- `v3.0.9`
|
||||
* Queue is now reset after disconnecting from the server to avoid unpredictable behavior.
|
||||
|
||||
|
|
|
@ -195,7 +195,7 @@ func (dj *MumbleDJ) Connect() error {
|
|||
dj.TLSConfig.InsecureSkipVerify = true
|
||||
}
|
||||
if viper.GetString("connection.cert") != "" {
|
||||
if viper.GetString("connection.key") != "" {
|
||||
if viper.GetString("connection.key") == "" {
|
||||
viper.Set("connection.key", viper.GetString("connection.cert"))
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue