ssl: rename md5, sha1 to md5_ctx, sha1_ctx, fix variable shadow warning
commit02f24ed289b4e9d750fb4eaa057bdfd879c95887
authorWilliam Smith <wsmith1@mail.ru>
Fri, 18 Jan 2013 02:01:39 +0000 (17 21:01 -0500)
committerWilliam Smith <wsmith1@mail.ru>
Fri, 18 Jan 2013 02:44:43 +0000 (17 21:44 -0500)
treee0410db0a3afd5d6d25aca4a0557a82c66cd5d75
parent97c2e5d4475a4687f947ef2b24d0629b2387053d
ssl: rename md5, sha1 to md5_ctx, sha1_ctx, fix variable shadow warning

Rename variables md5 and sha1 to md5_ctx and sha1_ctx
to avoid a conflict with functions of the same name
defined elsewhere in the library. This fixes compilation
warning with -Wshadow:

  ssl_cli.c: In function
  ‘ssl_parse_server_key_exchange’:
  ssl_cli.c:310: warning: declaration of ‘md5’ shadows a
  global declaration
  ../include/tropicssl/md5.h:85: warning: shadowed
  declaration is here
  ssl_cli.c:311: warning: declaration of ‘sha1’ shadows
  a global declaration
  ../include/tropicssl/sha1.h:85: warning: shadowed
  declaration is here
library/ssl_cli.c
library/ssl_srv.c
library/ssl_tls.c