mps

morphux package server
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/mps

commit fc78035d372c0f0f75750f3298948f02d2cb1413
parent 74b2de656a4808b985e6b991230f9a0930c4fb13
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Tue,  2 May 2017 14:59:16 +0200

Fix(Main): Fix a wrong order with private / public key

Diffstat:
Mmain.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go @@ -56,7 +56,7 @@ func main() { var listener net.Listener if *tlsPtr == false && *PrivateKeyPtr != "" && *PublicKeyPtr != "" { - cert, err := tls.LoadX509KeyPair(*PrivateKeyPtr, *PublicKeyPtr) + cert, err := tls.LoadX509KeyPair(*PublicKeyPtr, *PrivateKeyPtr) if err != nil { log.Fatalf("server: loadkeys: %s", err) }