From 45eba6e5de56d963fd47ef0d620055fd4088d671 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 11 Apr 2005 16:10:03 +0000 Subject: [PATCH] * sexputil.c: New. --- common/ChangeLog | 6 +++++- common/Makefile.am | 1 + common/util.h | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/ChangeLog b/common/ChangeLog index f5c5c0982..a42b07b4d 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,7 @@ +2005-04-07 Werner Koch + + * sexputil.c: New. + 2005-04-11 Marcus Brinkmann * simple-pwquery.c (simple_pwquery): Use spwq_secure_free. @@ -442,7 +446,7 @@ (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. - Copyright 2001, 2002 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without diff --git a/common/Makefile.am b/common/Makefile.am index ed7659793..a039be184 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -27,6 +27,7 @@ libcommon_a_SOURCES = \ util.h i18n.h \ errors.h \ sexp-parse.h \ + sexputil.c \ maperror.c \ sysutils.c sysutils.h \ homedir.c \ diff --git a/common/util.h b/common/util.h index bbf7241a3..14180bec4 100644 --- a/common/util.h +++ b/common/util.h @@ -120,6 +120,9 @@ gpg_error_t b64enc_write (struct b64state *state, const void *buffer, size_t nbytes); gpg_error_t b64enc_finish (struct b64state *state); +/*-- sexputil.c */ +gpg_error_t keygrip_from_canon_sexp (const unsigned char *key, size_t keylen, + unsigned char *grip); /*-- homedir. c --*/ const char *default_homedir (void);