diff options
author | 2019-05-21 13:29:44 +0000 | |
---|---|---|
committer | 2019-05-21 13:29:44 +0000 | |
commit | 285652d4c95f85e3083ce033d9dc84c392563c6c (patch) | |
tree | de9236517d3a81d4b4a64ba2a9ef4a1f15f5bdab /lib/libutil | |
parent | Cleanup some residual markup from the ber.3 days. (diff) | |
download | wireguard-openbsd-285652d4c95f85e3083ce033d9dc84c392563c6c.tar.xz wireguard-openbsd-285652d4c95f85e3083ce033d9dc84c392563c6c.zip |
whitespace
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/ber.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/ber.c b/lib/libutil/ber.c index 13933a82cc7..42a8834e23f 100644 --- a/lib/libutil/ber.c +++ b/lib/libutil/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.7 2019/05/16 21:12:33 rob Exp $ */ +/* $OpenBSD: ber.c,v 1.8 2019/05/21 13:29:44 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -1265,7 +1265,7 @@ ber_read_element(struct ber *ber, struct ber_element *elm) return -1; /* smallest number of contents octets only */ - if ((i == 1 && last == 0 && (c & 0x80) == 0) || + if ((i == 1 && last == 0 && (c & 0x80) == 0) || (i == 1 && last == 0xff && (c & 0x80) != 0)) return -1; |