diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-03-11 21:10:48 +0100 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2013-03-12 11:55:40 +0100 |
commit | 462b6d5228660d664c3158902ee50687edf3475d (patch) | |
tree | c532b266c71a449ec2bffd4d14dfa19f6a9b7748 /src/openvpn/buffer.h | |
parent | 9f0fc745664fd0fc6a1c6785e101bf912088db16 (diff) | |
download | openvpn-462b6d5228660d664c3158902ee50687edf3475d.tar.gz openvpn-462b6d5228660d664c3158902ee50687edf3475d.tar.xz openvpn-462b6d5228660d664c3158902ee50687edf3475d.zip |
Remove unused function xor
The function name xor is also a reserved keyword in C++
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1363032651-23934-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/7390
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/buffer.h')
-rw-r--r-- | src/openvpn/buffer.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/openvpn/buffer.h b/src/openvpn/buffer.h index 5e11de0..7cae733 100644 --- a/src/openvpn/buffer.h +++ b/src/openvpn/buffer.h @@ -689,16 +689,6 @@ bool buf_string_compare_advance (struct buffer *src, const char *match); int buf_substring_len (const struct buffer *buf, int delim); /* - * Bitwise operations - */ -static inline void -xor (uint8_t *dest, const uint8_t *src, int len) -{ - while (len-- > 0) - *dest++ ^= *src++; -} - -/* * Print a string which might be NULL */ const char *np (const char *str); |