summaryrefslogtreecommitdiff
path: root/lib/ext_authz.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-02-22 08:05:03 +0000
committerSimon Josefsson <simon@josefsson.org>2007-02-22 08:05:03 +0000
commitea0c4d1850396964c40026d2d2c576b5c6b7156c (patch)
tree43bec55cd4fde850f86d1fb0eff0e2cb183efddc /lib/ext_authz.c
parent54bbf449d6268d23b3c288eb06b9b3bca1d98c24 (diff)
downloadgnutls-ea0c4d1850396964c40026d2d2c576b5c6b7156c.tar.gz
Typo.
Diffstat (limited to 'lib/ext_authz.c')
-rw-r--r--lib/ext_authz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext_authz.c b/lib/ext_authz.c
index 7e8a0c65bb..7658c2c61d 100644
--- a/lib/ext_authz.c
+++ b/lib/ext_authz.c
@@ -418,7 +418,7 @@ add_data (gnutls_session_t session,
str[0] = '\x00';
str[1] = format - 1;
- str[2] = (len << 8) & 0xFF;
+ str[2] = (len >> 8) & 0xFF;
str[3] = len & 0xFF;
ret = _gnutls_buffer_append (buffer, str, 4);