Use the new aes/md5/sha/tree allocation functions

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö
2012-10-11 15:10:45 +03:00
parent 9a92aea27b
commit e002e3291e
7 changed files with 7 additions and 7 deletions

View File

@@ -159,7 +159,7 @@ static char *make_digest_auth(HTTPAuthState *state, const char *username,
ff_data_to_hex(cnonce, (const uint8_t*) cnonce_buf, sizeof(cnonce_buf), 1);
cnonce[2*sizeof(cnonce_buf)] = 0;
md5ctx = av_malloc(av_md5_size);
md5ctx = av_md5_alloc();
if (!md5ctx)
return NULL;