Rename md_init_ctx() to md_setup()

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-25 16:29:51 +01:00
parent d4b9173269
commit abb674467b
16 changed files with 32 additions and 32 deletions

View file

@ -104,7 +104,7 @@ int ssl_cookie_setup( ssl_cookie_ctx *ctx,
if( ( ret = f_rng( p_rng, key, sizeof( key ) ) ) != 0 )
return( ret );
ret = md_init_ctx( &ctx->hmac_ctx, md_info_from_type( COOKIE_MD ), 1 );
ret = md_setup( &ctx->hmac_ctx, md_info_from_type( COOKIE_MD ), 1 );
if( ret != 0 )
return( ret );