Browse Source

Fix typo in encrypt.c

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
pull/370/head
Syrone Wong 10 years ago
parent
commit
a8059f4e6f
1 changed files with 1 additions and 1 deletions
  1. 2
      src/encrypt.c

2
src/encrypt.c

@ -523,7 +523,7 @@ typedef struct {
memset(&c, 0, sizeof(mbedtls_md_context_t));
//FIXME: md_init_ctx superseded by mbedtls_md_setup() in 2.0.0
// new param hmac 0 to save some meory(maybe a typo? memory?) is HMAC will not be use,
// new param hmac 0 to save some memory if HMAC will not be used,
// non-zero is HMAC is going to be used with this context.
if (mbedtls_md_setup(&c, md, 0)) {
return 0;

Loading…
Cancel
Save