CRYPTO_strdup
#define OPENSSL_strdup(str) CRYPTO_strdup((str),NULL,0)
char *CRYPTO_strdup(const char *str, const char *file, int line);