summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http/http_connection.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http_connection.hpp b/http/http_connection.hpp
index 6172b3a1cc..fb6401457e 100644
--- a/http/http_connection.hpp
+++ b/http/http_connection.hpp
@@ -173,6 +173,7 @@ class Connection :
isKeyUsageKeyAgreement = true;
}
}
+ ASN1_BIT_STRING_free(usage);
if (!isKeyUsageDigitalSignature || !isKeyUsageKeyAgreement)
{
@@ -182,7 +183,6 @@ class Connection :
"be used for user authentication";
return true;
}
- ASN1_BIT_STRING_free(usage);
// Determine that ExtendedKeyUsage includes Client Auth