1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-06 17:23:03 +01:00

* keybox-blob.c (_keybox_create_x509_blob): Skip the leading

parenthesis of the serial number's S-exp.
This commit is contained in:
Werner Koch 2001-12-20 13:24:49 +00:00
parent 41eeb31b9f
commit 3341f8a55d
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-12-20 Werner Koch <wk@gnupg.org>
* keybox-blob.c (_keybox_create_x509_blob): Skip the leading
parenthesis of the serial number's S-exp.
2001-12-18 Werner Koch <wk@gnupg.org>
* Makefile.am (AM_CPPFLAGS): Add flags for libksba

View File

@ -824,8 +824,12 @@ _keybox_create_x509_blob (KEYBOXBLOB *r_blob, KsbaCert cert,
size_t n;
n = gcry_sexp_canon_len (p, 0, NULL, NULL);
if (!n)
return KEYBOX_General_Error;
{
xfree (p);
return KEYBOX_General_Error;
}
blob->serialbuf = p;
p++;
for (; n && *p != ':'; n--, p++)
;
p++;