1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

* app-common.h: Do not include ksba.h for gnupg 1.

This commit is contained in:
Werner Koch 2004-04-28 09:00:05 +00:00
parent 236d241aed
commit 4c96cb0683
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-04-27 Werner Koch <wk@gnupg.org>
* app-common.h: Do not include ksba.h for gnupg 1.
2004-04-26 Werner Koch <wk@gnupg.org>
* app-common.h: New members FNC.DEINIT and APP_LOCAL.

View File

@ -21,7 +21,9 @@
#ifndef GNUPG_SCD_APP_COMMON_H
#define GNUPG_SCD_APP_COMMON_H
#if GNUPG_MAJOR_VERSION != 1
#include <ksba.h>
#endif
struct app_local_s; /* Defined by all app-*.c. */

View File

@ -172,7 +172,6 @@ get_cached_data (app_t app, int tag,
if (c)
{
memcpy (c->data, p, len);
log_debug (" caching tag %04X\n", tag);
c->length = len;
c->tag = tag;
c->next = app->app_local->cache;