diff options
author | rob <rob@cvs.openbsd.org> | 2019-05-12 20:25:11 +0000 |
---|---|---|
committer | rob <rob@cvs.openbsd.org> | 2019-05-12 20:25:11 +0000 |
commit | a617ee9e80568ddb0b508cd8b618da34e20c1101 (patch) | |
tree | 0303d96a11a76aaf40784e9dc90f5385d514f148 /lib/libutil/ber.c | |
parent | 89d89c820eb4574a02f449fb5f49234c7572d946 (diff) |
Enable support for the writting of BITSTRING by treating it as an OCTETSTRING.
ok claudio@
Diffstat (limited to 'lib/libutil/ber.c')
-rw-r--r-- | lib/libutil/ber.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libutil/ber.c b/lib/libutil/ber.c index 3424a78e0e3..35aa247dc19 100644 --- a/lib/libutil/ber.c +++ b/lib/libutil/ber.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.c,v 1.5 2019/05/12 20:13:08 rob Exp $ */ +/* $OpenBSD: ber.c,v 1.6 2019/05/12 20:25:10 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -1008,7 +1008,6 @@ ber_dump_element(struct ber *ber, struct ber_element *root) } break; case BER_TYPE_BITSTRING: - return -1; case BER_TYPE_OCTETSTRING: case BER_TYPE_OBJECT: ber_write(ber, root->be_val, root->be_len); |