mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
sm,common: Move ksba reader and writer support to common/.
* sm/base64.c: Rename to ... * common/ksba-io-support.c: this. * common/ksba-io-support.h: New. * common/Makefile.am (common_sources): Add new files. * sm/Makefile.am (gpgsm_SOURCES): Remove base64.c Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
5c4e67afd6
commit
04bfa6fe65
@ -91,7 +91,9 @@ common_sources = \
|
||||
exectool.c exectool.h \
|
||||
server-help.c server-help.h \
|
||||
name-value.c name-value.h \
|
||||
recsel.c recsel.h
|
||||
recsel.c recsel.h \
|
||||
ksba-io-support.c ksba-io-support.h
|
||||
|
||||
|
||||
if HAVE_W32_SYSTEM
|
||||
common_sources += w32-reg.c
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* base64.c
|
||||
/* kska-io-support.c - Supporting functions for ksba reader and writer
|
||||
* Copyright (C) 2001, 2003, 2010 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
@ -26,7 +26,7 @@
|
||||
#include <time.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "gpgsm.h"
|
||||
#include "../sm/gpgsm.h"
|
||||
|
||||
|
||||
#include <ksba.h>
|
33
common/ksba-io-support.h
Normal file
33
common/ksba-io-support.h
Normal file
@ -0,0 +1,33 @@
|
||||
/* ksba-io-support.h - Supporting functions for ksba reader and writer
|
||||
* Copyright (C) 2017 Werner Koch
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
*
|
||||
* This file is free software; you can redistribute it and/or modify
|
||||
* it under the terms of either
|
||||
*
|
||||
* - the GNU Lesser General Public License as published by the Free
|
||||
* Software Foundation; either version 3 of the License, or (at
|
||||
* your option) any later version.
|
||||
*
|
||||
* or
|
||||
*
|
||||
* - the GNU General Public License as published by the Free
|
||||
* Software Foundation; either version 2 of the License, or (at
|
||||
* your option) any later version.
|
||||
*
|
||||
* or both in parallel, as here.
|
||||
*
|
||||
* This file is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef GNUPG_KSBA_IO_SUPPORT_H
|
||||
#define GNUPG_KSBA_IO_SUPPORT_H
|
||||
|
||||
#endif /*GNUPG_KSBA_IO_SUPPORT_H*/
|
@ -38,7 +38,6 @@ gpgsm_SOURCES = \
|
||||
call-agent.c \
|
||||
call-dirmngr.c \
|
||||
fingerprint.c \
|
||||
base64.c \
|
||||
certlist.c \
|
||||
certdump.c \
|
||||
certcheck.c \
|
||||
|
Loading…
x
Reference in New Issue
Block a user