Commit fa3a0286 authored by Kurt Cancemi's avatar Kurt Cancemi Committed by Rich Salz
Browse files

Remove pointless free loop in X509_PURPOSE_cleanup()

parent 14f46560
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -229,10 +229,7 @@ static void xptable_free(X509_PURPOSE *p)

void X509_PURPOSE_cleanup(void)
{
    unsigned int i;
    sk_X509_PURPOSE_pop_free(xptable, xptable_free);
    for (i = 0; i < X509_PURPOSE_COUNT; i++)
        xptable_free(xstandard + i);
    xptable = NULL;
}