Fix OpenSSL API issue. Based on a patch from Guido Vranken
authorAlan T. DeKok <aland@freeradius.org>
Sat, 1 Jul 2017 14:34:57 +0000 (10:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 3 Jul 2017 01:00:34 +0000 (21:00 -0400)
src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c

index d5338b6..c079445 100644 (file)
@@ -721,7 +721,7 @@ static int cbtls_verify(int ok, X509_STORE_CTX *ctx)
                        }
                }
                if (names != NULL)
-                       sk_GENERAL_NAME_free(names);
+                       GENERAL_NAMES_free(names);
        }
 #endif /* GEN_EMAIL */