cryptnet: Remove unused function.

This commit is contained in:
Andrew Talbot 2008-05-19 22:13:13 +01:00 committed by Alexandre Julliard
parent 3d42a0ee65
commit 2289717a59
1 changed files with 0 additions and 11 deletions

View File

@ -453,17 +453,6 @@ static BOOL CRYPT_GetObjectFromCache(LPCWSTR pszURL, PCRYPT_BLOB_ARRAY pObject,
return ret;
}
static inline LPWSTR strndupW(LPWSTR string, int len)
{
LPWSTR ret = NULL;
if (string && (ret = CryptMemAlloc((len + 1) * sizeof(WCHAR))) != NULL)
{
memcpy(ret, string, len * sizeof(WCHAR));
ret[len] = 0;
}
return ret;
}
/* Parses the URL, and sets components's lpszHostName and lpszUrlPath members
* to NULL-terminated copies of those portions of the URL (to be freed with
* CryptMemFree.)