mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Updated from latest NewPG project
This commit is contained in:
parent
254225ac37
commit
c13b76ca6a
28 changed files with 902 additions and 175 deletions
|
@ -1,3 +1,12 @@
|
|||
2002-11-14 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* keybox-search.c (blob_cmp_name) <compare all names>: Fixed
|
||||
length compare; there is no 0 stored since nearly a year.
|
||||
|
||||
2002-10-31 Neal H. Walfield <neal@g10code.de>
|
||||
|
||||
* Makefile.am (AM_CPPFLAGS): Fix ytpo.
|
||||
|
||||
2002-08-10 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* keybox-search.c (blob_cmp_fpr_part): New.
|
||||
|
@ -16,7 +25,7 @@
|
|||
2002-06-19 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* keybox-init.c (keybox_set_ephemeral): New.
|
||||
* keybox-blob.c (create_blob_header): Store epheermal flag.
|
||||
* keybox-blob.c (create_blob_header): Store ephemeral flag.
|
||||
(_keybox_create_x509_blob): Pass epheermal flag on.
|
||||
* keybox-update.c (keybox_insert_cert): Ditto.
|
||||
* keybox-search.c (blob_get_blob_flags): New.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Keybox Makefile
|
||||
# Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is part of GnuPG.
|
||||
#
|
||||
|
@ -23,7 +23,7 @@ localedir = $(datadir)/locale
|
|||
INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
|
||||
|
||||
EXTRA_DIST = mkerrors
|
||||
AM_CPPFLAGS = $(KSBA_CFLAGS) $(LIBGCRYPT_CLFAGS)
|
||||
AM_CPPFLAGS = $(KSBA_CFLAGS) $(LIBGCRYPT_CFLAGS)
|
||||
BUILT_SOURCES = keybox-errors.c
|
||||
|
||||
noinst_LIBRARIES = libkeybox.a
|
||||
|
|
|
@ -234,9 +234,8 @@ blob_cmp_name (KEYBOXBLOB blob, int idx,
|
|||
len = get32 (buffer+mypos+4);
|
||||
if (off+len > length)
|
||||
return 0; /* error: better stop here out of bounds */
|
||||
if (len < 2)
|
||||
continue; /* empty name or 0 not stored */
|
||||
len--;
|
||||
if (len < 1)
|
||||
continue; /* empty name */
|
||||
if (substr)
|
||||
{
|
||||
if (ascii_memcasemem (buffer+off, len, name, namelen))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue