]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Replace decode/encode with unscramble/buf_append_scrambled
authorDaniel Lenski <dlenski@gmail.com>
Mon, 21 Jun 2021 19:11:15 +0000 (12:11 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 21 Jun 2021 19:11:15 +0000 (12:11 -0700)
commit60b52b515b95037ee0c5b19d2a795cc8f9a2e97f
treeb48746d8a32bbea625608fca12bc2fe3e5bb2a71
parentb2c202cb375d587320416ca50bddd04d772a940c
Replace decode/encode with unscramble/buf_append_scrambled

The buf_append_XXX() approach is more idiomatic within the OpenConnect codebase, and these versions are a bit more efficient (fewer copies and no need for in-place reversing).

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
cp.c