Fix OpenSSL API issue. Based on a patch from Guido Vranken
authorAlan T. DeKok <aland@freeradius.org>
Thu, 22 Jun 2017 01:03:54 +0000 (21:03 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 22 Jun 2017 12:24:14 +0000 (08:24 -0400)
src/main/tls.c

index 634924d..089ecbc 100644 (file)
@@ -2215,7 +2215,7 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx)
                        }
                }
                if (names != NULL)
-                       sk_GENERAL_NAME_free(names);
+                       GENERAL_NAME_free(names);
        }
 
        /*