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:
parent
41eeb31b9f
commit
3341f8a55d
@ -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
|
||||
|
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user