fix some renaming errors from a while ago
diff --git a/OpenSSL/test/util.py b/OpenSSL/test/util.py
index 72e1a88..bc398a1 100644
--- a/OpenSSL/test/util.py
+++ b/OpenSSL/test/util.py
@@ -61,8 +61,8 @@
 
             # Clean up some long-lived allocations so they won't be reported as
             # memory leaks.
-            libCRYPTO_cleanup_all_ex_data()
-            libERR_remove_thread_state(ffiNULL)
+            lib.CRYPTO_cleanup_all_ex_data()
+            lib.ERR_remove_thread_state(ffi.NULL)
 
             after = set(memdbg.heap)