_asn1_object_id_der: expanded to handle all OIDs that can be decoded

In addition to making a more precise OID encoding, we add
a unit test.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
6 files changed
tree: 7a39f526d44bb4f185e4ac509c95c3d8473c8015
  1. build-aux/
  2. devel/
  3. doc/
  4. examples/
  5. fuzz/
  6. lib/
  7. m4/
  8. msvc/
  9. src/
  10. tests/
  11. windows/
  12. .clcopying
  13. .gitignore
  14. .gitlab-ci.yml
  15. .gitmodules
  16. .lgtm.yml
  17. .prev-version
  18. AUTHORS
  19. bootstrap
  20. bootstrap.conf
  21. cfg.mk
  22. configure.ac
  23. CONTRIBUTING.md
  24. GNUmakefile
  25. LICENSE
  26. Makefile.am
  27. NEWS
  28. README.md
  29. THANKS
README.md
BranchCI systemStatus
MasterGitlabbuild statuscoverage report

libtasn1

This is GNU Libtasn1, a small ASN.1 library.

The C library (libtasn1.*) is licensed under the GNU Lesser General Public License version 2.1 or later. See the file COPYING.LIB.

The command line tool, self tests, examples, and other auxilliary files, are licensed under the GNU General Public License version 3.0 or later. See the file COPYING.

Building the library

We require several tools to build the software, including:

The required software is typically distributed with your operating system, and the instructions for installing them differ. Here are some hints:

gNewSense/Debian/Ubuntu:

sudo apt-get install make git-core autoconf automake libtool
sudo apt-get install texinfo texlive texlive-generic-recommended texlive-extra-utils
sudo apt-get install help2man gtk-doc-tools valgrind abigail-tools

The next step is to run autoreconf, ./configure, etc:

$ ./bootstrap

Then build the project normally:

$ make
$ make check

Happy hacking!

Manual

The manual is in the doc/ directory of the release. You can also browse the manual online at:

Code coverage report

The coverage report is at:

Issue trackers

Homepage

The project homepage at the gnu site is at:

http://www.gnu.org/software/libtasn1/

For any copyright year range specified as YYYY-ZZZZ in this package note that the range specifies every single year in that closed interval.