Replace BUF_ string function calls with OPENSSL_ ones
[openssl.git] / test / sslcorrupttest.c
index bffccc86d2cec80463ce9d2ada93d80a301893f0..66f8cd142c2a7334cc8ad58624dc071e6036bdd3 100644 (file)
@@ -41,7 +41,7 @@ static int tls_corrupt_write(BIO *bio, const char *in, int inl)
     char *copy;
 
     if (docorrupt) {
-        if (!TEST_ptr(copy = BUF_memdup(in, inl)))
+        if (!TEST_ptr(copy = OPENSSL_memdup(in, inl)))
             return 0;
         /* corrupt last bit of application data */
         copy[inl-1] ^= 1;