Rename some BUF_xxx to OPENSSL_xxx
[openssl.git] / crypto / mem.c
index 33a76d2d08fe8a816f25dec927082c451fc10f3a..83a1547dc9256dfe26ed33b532c523fdfb3f1d17 100644 (file)
@@ -321,15 +321,6 @@ void *CRYPTO_zalloc(int num, const char *file, int line)
     return ret;
 }
 
-char *CRYPTO_strdup(const char *str, const char *file, int line)
-{
-    char *ret = CRYPTO_malloc(strlen(str) + 1, file, line);
-
-    if (ret != NULL)
-        strcpy(ret, str);
-    return ret;
-}
-
 void *CRYPTO_realloc(void *str, int num, const char *file, int line)
 {
     void *ret = NULL;