From 47c505ab603fb8b5feb2c95d1d535e16767063dc Mon Sep 17 00:00:00 2001 From: pscalise1 Date: Thu, 18 Jul 2024 18:24:22 -0500 Subject: [PATCH] ctx bug fix --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 936e26b..1a112c5 100644 --- a/client.go +++ b/client.go @@ -245,7 +245,7 @@ func CallAPI(cfg Configuration, request *http.Request) (*http.Response, error) { fmt.Println(GetCurrentNetworkFunctionUsingAPI()) opensslCtx := CreateOpenSSLClientCtx(GetCurrentNetworkFunctionUsingAPI()) - if opensslCtx != nil { + if opensslCtx == nil { return nil, fmt.Errorf("Error Creating OpenSSL Context") }