1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch d21ced1e35
common: Add an easy to use DER builder.
* common/tlv-builder.c: New.
* common/tlv.c: Remove stuff only used by GnuPG 1.
(put_tlv_to_membuf, get_tlv_length): Move to ...
* common/tlv-builder.c: here.
* common/tlv.h (tlv_builder_t): New.
--

Such code should actually go into libksba and we will eventually do
that.  However, for now it is easier to keep it here.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 5ea878274ef51c819368f021c69c518b9aef6f82)

- Add coverity meta comment from
  commit a95ddffdcd58383cce93677be5e7e11c5c229a98
2022-06-20 15:54:29 +02:00
..
2015-10-28 10:20:17 +01:00
2021-10-06 11:06:01 +02:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2021-08-27 17:22:25 +09:00
2019-04-16 13:27:44 +09:00
2021-05-20 14:52:08 +02:00
2016-03-02 14:27:30 +01:00
2017-02-21 13:11:46 -05:00
2020-11-09 11:53:33 +01:00
2022-06-20 15:54:29 +02:00
2022-06-20 15:54:29 +02:00
2021-12-29 09:21:00 +01:00
2022-02-07 18:22:30 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.