Skip to content

Commit e2654bf

Browse files
committed
Merge pull request shadowsocks#370 from wongsyrone/patch-1
Fix typo in encrypt.c
2 parents e3ed222 + a8059f4 commit e2654bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encrypt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ typedef struct {
523523

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

0 commit comments

Comments
 (0)