Mailinglist Archive: opensuse-commit (1138 mails)
| < Previous | Next > |
commit libopencdk
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Wed, 24 Jan 2007 01:43:53 +0100
- Message-id: <20070124004353.C51C9678180@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package libopencdk
checked in at Wed Jan 24 01:43:53 CET 2007.
--------
--- libopencdk/libopencdk.changes 2006-10-11 17:48:47.000000000 +0200
+++ /mounts/work_src_done/STABLE/libopencdk/libopencdk.changes 2007-01-23 17:52:23.000000000 +0100
@@ -1,0 +2,8 @@
+Tue Jan 23 17:51:21 CET 2007 - mkoenig@xxxxxxx
+
+- update to version 0.5.11:
+ * Add a new self test "basic" to test cdk_check_version
+ * Add prototype of cdk_stream_decrypt to opencdk.h
+ * Fix crash in cdk_data_transform triggered by self-tests
+
+-------------------------------------------------------------------
Old:
----
opencdk-0.5.10.tar.bz2
New:
----
opencdk-0.5.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libopencdk.spec ++++++
--- /var/tmp/diff_new_pack.l11785/_old 2007-01-24 01:43:49.000000000 +0100
+++ /var/tmp/diff_new_pack.l11785/_new 2007-01-24 01:43:49.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package libopencdk (Version 0.5.10)
+# spec file for package libopencdk (Version 0.5.11)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -13,10 +13,10 @@
Name: libopencdk
BuildRequires: libgcrypt-devel
URL: http://www.gnutls.org/
-Version: 0.5.10
+Version: 0.5.11
Release: 1
Summary: Library Providing Basic Parts of the OpenPGP Message Format
-License: GPL
+License: GNU General Public License (GPL)
Group: System/Libraries
Autoreqprov: on
Source: opencdk-%{version}.tar.bz2
@@ -96,6 +96,11 @@
%_libdir/pkgconfig/opencdk.pc
%changelog -n libopencdk
+* Tue Jan 23 2007 - mkoenig@xxxxxxx
+- update to version 0.5.11:
+ * Add a new self test "basic" to test cdk_check_version
+ * Add prototype of cdk_stream_decrypt to opencdk.h
+ * Fix crash in cdk_data_transform triggered by self-tests
* Wed Oct 11 2006 - mkoenig@xxxxxxx
- update to version 0.5.10:
* Fix double-free in cdk_pklist_encrypt
++++++ opencdk-0.5.10.tar.bz2 -> opencdk-0.5.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/ChangeLog new/opencdk-0.5.11/ChangeLog
--- old/opencdk-0.5.10/ChangeLog 2006-10-11 16:47:00.000000000 +0200
+++ new/opencdk-0.5.11/ChangeLog 2006-10-26 13:26:22.000000000 +0200
@@ -1,3 +1,53 @@
+2006-10-26 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * configure.ac: Bump versions.
+
+2006-10-26 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * NEWS: Version 0.5.11.
+
+2006-10-25 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * tests/t-stream.c: Disable test_import due to crashes on second
+ run.
+
+2006-10-25 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * NEWS: Add.
+
+2006-10-25 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * tests/Makefile.am, tests/t-stream.c: Fix distcheck.
+
+2006-10-25 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * tests/t-stream.c: Fix self tests to return failure if some test
+ fails.
+
+2006-10-25 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * src/encrypt.c:
+ (cdk_data_transform): Fix strlen(NULL) call, for
+ CDK_CRYPTYPE_IMPORT. Triggered by t-stream self test.
+
+2006-10-25 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * tests/Makefile.am: Fix copyright.
+
+2006-10-25 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * NEWS, tests/Makefile.am, tests/basic.c: Add basic self-test.
+
+2006-10-14 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * NEWS: Add.
+
+2006-10-14 Simon Josefsson <simon@xxxxxxxxxxxxx>
+
+ * src/opencdk.h.in:
+ (cdk_stream_decrypt): Add prototype, reported by "Adam Langley"
+ <agl@xxxxxxxxxxxxxxxxxx>.
+
2006-10-11 Simon Josefsson <simon@xxxxxxxxxxxxx>
* NEWS: Version 0.5.10.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/configure new/opencdk-0.5.11/configure
--- old/opencdk-0.5.10/configure 2006-10-11 16:20:10.000000000 +0200
+++ new/opencdk-0.5.11/configure 2006-10-26 13:25:16.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60a for opencdk 0.5.10.
+# Generated by GNU Autoconf 2.60a for opencdk 0.5.11.
#
# Report bugs to <bug-gnutls@xxxxxxxxxx>.
#
@@ -713,8 +713,8 @@
# Identity of this package.
PACKAGE_NAME='opencdk'
PACKAGE_TARNAME='opencdk'
-PACKAGE_VERSION='0.5.10'
-PACKAGE_STRING='opencdk 0.5.10'
+PACKAGE_VERSION='0.5.11'
+PACKAGE_STRING='opencdk 0.5.11'
PACKAGE_BUGREPORT='bug-gnutls@xxxxxxxxxx'
# Factoring default headers for most tests.
@@ -1386,7 +1386,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures opencdk 0.5.10 to adapt to many kinds of systems.
+\`configure' configures opencdk 0.5.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1456,7 +1456,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of opencdk 0.5.10:";;
+ short | recursive ) echo "Configuration of opencdk 0.5.11:";;
esac
cat <<\_ACEOF
@@ -1566,7 +1566,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-opencdk configure 0.5.10
+opencdk configure 0.5.11
generated by GNU Autoconf 2.60a
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1580,7 +1580,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by opencdk $as_me 0.5.10, which was
+It was created by opencdk $as_me 0.5.11, which was
generated by GNU Autoconf 2.60a. Invocation command line was
$ $0 $@
@@ -2254,7 +2254,7 @@
# Define the identity of the package.
PACKAGE='opencdk'
- VERSION='0.5.10'
+ VERSION='0.5.11'
cat >>confdefs.h <<_ACEOF
@@ -2517,7 +2517,7 @@
LT_AGE=0
-LT_REVISION=6
+LT_REVISION=7
ac_ext=c
@@ -21918,7 +21918,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by opencdk $as_me 0.5.10, which was
+This file was extended by opencdk $as_me 0.5.11, which was
generated by GNU Autoconf 2.60a. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21971,7 +21971,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-opencdk config.status 0.5.10
+opencdk config.status 0.5.11
configured by $0, generated by GNU Autoconf 2.60a,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/configure.ac new/opencdk-0.5.11/configure.ac
--- old/opencdk-0.5.10/configure.ac 2006-10-11 16:19:17.000000000 +0200
+++ new/opencdk-0.5.11/configure.ac 2006-10-26 13:24:32.000000000 +0200
@@ -19,7 +19,7 @@
dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
dnl
-AC_INIT(opencdk, 0.5.10, bug-gnutls@xxxxxxxxxx)
+AC_INIT(opencdk, 0.5.11, bug-gnutls@xxxxxxxxxx)
AC_PREREQ(2.52)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
@@ -31,7 +31,7 @@
# (No interfaces changed: REVISION++)
AC_SUBST(LT_CURRENT, 8)
AC_SUBST(LT_AGE, 0)
-AC_SUBST(LT_REVISION, 6)
+AC_SUBST(LT_REVISION, 7)
AC_PROG_CC
AC_GNU_SOURCE
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/NEWS new/opencdk-0.5.11/NEWS
--- old/opencdk-0.5.10/NEWS 2006-10-11 16:46:33.000000000 +0200
+++ new/opencdk-0.5.11/NEWS 2006-10-26 13:23:37.000000000 +0200
@@ -1,3 +1,13 @@
+Noteworthy changes in version 0.5.11 (2006-10-26)
+------------------------------------------------
+
+* Add a new self test "basic" to test cdk_check_version.
+
+* Add prototype of cdk_stream_decrypt to opencdk.h, reported by Adam
+ Langley.
+
+* Fix crash in cdk_data_transform triggered by self-tests.
+
Noteworthy changes in version 0.5.10 (2006-10-11)
------------------------------------------------
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/src/encrypt.c new/opencdk-0.5.11/src/encrypt.c
--- old/opencdk-0.5.10/src/encrypt.c 2006-08-06 15:13:07.000000000 +0200
+++ new/opencdk-0.5.11/src/encrypt.c 2006-10-25 14:35:34.000000000 +0200
@@ -1,5 +1,6 @@
/* -*- Mode: C; c-file-style: "bsd" -*-
* encrypt.c
+ * Copyright (C) 2006 Free Software Foundation, Inc.
* Copyright (C) 2002, 2003 Timo Schulz
*
* This file is part of OpenCDK.
@@ -992,7 +993,7 @@
rc = cdk_keydb_import( db, knode, res );
if( !rc ) {
*outbuf = NULL; /* FIXME */
- *outsize = strlen( *outbuf );
+ *outsize = 0;
}
cdk_kbnode_release( knode );
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/src/opencdk.h new/opencdk-0.5.11/src/opencdk.h
--- old/opencdk-0.5.10/src/opencdk.h 2006-10-11 16:20:49.000000000 +0200
+++ new/opencdk-0.5.11/src/opencdk.h 2006-10-26 13:25:53.000000000 +0200
@@ -24,7 +24,7 @@
#include <stdarg.h>
-#define OPENCDK_VERSION "0.5.10"
+#define OPENCDK_VERSION "0.5.11"
#ifdef __cplusplus
extern "C" {
@@ -772,6 +772,8 @@
/*-- encrypt.c --*/
cdk_error_t cdk_stream_encrypt (cdk_ctx_t hd, cdk_strlist_t remusr,
cdk_stream_t inp, cdk_stream_t out);
+cdk_error_t cdk_stream_decrypt (cdk_ctx_t hd, cdk_stream_t inp,
+ cdk_stream_t out);
cdk_error_t cdk_file_encrypt (cdk_ctx_t hd, cdk_strlist_t remusr,
const char * file, const char * output);
cdk_error_t cdk_file_decrypt (cdk_ctx_t hd, const char * file,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/src/opencdk.h.in new/opencdk-0.5.11/src/opencdk.h.in
--- old/opencdk-0.5.10/src/opencdk.h.in 2006-08-06 15:21:03.000000000 +0200
+++ new/opencdk-0.5.11/src/opencdk.h.in 2006-10-14 15:57:26.000000000 +0200
@@ -772,6 +772,8 @@
/*-- encrypt.c --*/
cdk_error_t cdk_stream_encrypt (cdk_ctx_t hd, cdk_strlist_t remusr,
cdk_stream_t inp, cdk_stream_t out);
+cdk_error_t cdk_stream_decrypt (cdk_ctx_t hd, cdk_stream_t inp,
+ cdk_stream_t out);
cdk_error_t cdk_file_encrypt (cdk_ctx_t hd, cdk_strlist_t remusr,
const char * file, const char * output);
cdk_error_t cdk_file_decrypt (cdk_ctx_t hd, const char * file,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/tests/basic.c new/opencdk-0.5.11/tests/basic.c
--- old/opencdk-0.5.10/tests/basic.c 1970-01-01 01:00:00.000000000 +0100
+++ new/opencdk-0.5.11/tests/basic.c 2006-10-25 14:24:01.000000000 +0200
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2006 Free Software Foundation
+ *
+ * Author: Simon Josefsson
+ *
+ * This file is part of OPENCDK.
+ *
+ * OPENCDK is free software; you can redistribute it and/or modify it
+ * under the terms of 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.
+ *
+ * OPENCDK 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 OPENCDK; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include <stdio.h>
+
+#include "opencdk.h"
+
+int
+main (void)
+{
+ printf ("OpenCDK header version %s.\n", OPENCDK_VERSION);
+ printf ("OpenCDK library version %s.\n", cdk_check_version (NULL));
+
+ if (!cdk_check_version (OPENCDK_VERSION))
+ return 1;
+
+ return 0;
+}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/tests/Makefile.am new/opencdk-0.5.11/tests/Makefile.am
--- old/opencdk-0.5.10/tests/Makefile.am 2003-03-25 14:30:45.000000000 +0100
+++ new/opencdk-0.5.11/tests/Makefile.am 2006-10-25 14:52:21.000000000 +0200
@@ -1,4 +1,5 @@
# Makefile.am - Makefile for the regression tests.
+# Copyright (C) 2006 Free Software Foundation, Inc.
# Copyright (C) 2003 Timo Schulz
#
# This file is part of OpenCDK.
@@ -17,7 +18,7 @@
# along with OpenCDK; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTS = t-stream
+TESTS = t-stream basic
EXTRA_DIST = pub.gpg sec.gpg sec-with-pwd.gpg ts.gpg wkold.gpg minpg.c mk-minpg.sh
@@ -28,3 +29,6 @@
LDADD = ../src/libopencdk.la $(LIBGCRYPT_LIBS)
noinst_PROGRAMS = $(TESTS)
+
+TESTS_ENVIRONMENT = \
+ PUBGPG=$(srcdir)/pub.gpg
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/tests/Makefile.in new/opencdk-0.5.11/tests/Makefile.in
--- old/opencdk-0.5.10/tests/Makefile.in 2006-10-11 16:20:14.000000000 +0200
+++ new/opencdk-0.5.11/tests/Makefile.in 2006-10-26 13:25:22.000000000 +0200
@@ -15,6 +15,7 @@
@SET_MAKE@
# Makefile.am - Makefile for the regression tests.
+# Copyright (C) 2006 Free Software Foundation, Inc.
# Copyright (C) 2003 Timo Schulz
#
# This file is part of OpenCDK.
@@ -68,12 +69,16 @@
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
-am__EXEEXT_1 = t-stream$(EXEEXT)
+am__EXEEXT_1 = t-stream$(EXEEXT) basic$(EXEEXT)
PROGRAMS = $(noinst_PROGRAMS)
+basic_SOURCES = basic.c
+basic_OBJECTS = basic.$(OBJEXT)
+basic_LDADD = $(LDADD)
+am__DEPENDENCIES_1 =
+basic_DEPENDENCIES = ../src/libopencdk.la $(am__DEPENDENCIES_1)
t_stream_SOURCES = t-stream.c
t_stream_OBJECTS = t-stream.$(OBJEXT)
t_stream_LDADD = $(LDADD)
-am__DEPENDENCIES_1 =
t_stream_DEPENDENCIES = ../src/libopencdk.la $(am__DEPENDENCIES_1)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
@@ -86,8 +91,8 @@
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = t-stream.c
-DIST_SOURCES = t-stream.c
+SOURCES = basic.c t-stream.c
+DIST_SOURCES = basic.c t-stream.c
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -205,11 +210,14 @@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-TESTS = t-stream
+TESTS = t-stream basic
EXTRA_DIST = pub.gpg sec.gpg sec-with-pwd.gpg ts.gpg wkold.gpg minpg.c mk-minpg.sh
INCLUDES = -I$(top_srcdir)/src
AM_CPPFLAGS = $(LIBGCRYPT_CFLAGS)
LDADD = ../src/libopencdk.la $(LIBGCRYPT_LIBS)
+TESTS_ENVIRONMENT = \
+ PUBGPG=$(srcdir)/pub.gpg
+
all: all-am
.SUFFIXES:
@@ -250,6 +258,9 @@
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
+basic$(EXEEXT): $(basic_OBJECTS) $(basic_DEPENDENCIES)
+ @rm -f basic$(EXEEXT)
+ $(LINK) $(basic_LDFLAGS) $(basic_OBJECTS) $(basic_LDADD) $(LIBS)
t-stream$(EXEEXT): $(t_stream_OBJECTS) $(t_stream_DEPENDENCIES)
@rm -f t-stream$(EXEEXT)
$(LINK) $(t_stream_LDFLAGS) $(t_stream_OBJECTS) $(t_stream_LDADD) $(LIBS)
@@ -260,6 +271,7 @@
distclean-compile:
-rm -f *.tab.c
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basic.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-stream.Po@am__quote@
.c.o:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opencdk-0.5.10/tests/t-stream.c new/opencdk-0.5.11/tests/t-stream.c
--- old/opencdk-0.5.10/tests/t-stream.c 2006-08-06 15:13:07.000000000 +0200
+++ new/opencdk-0.5.11/tests/t-stream.c 2006-10-25 19:44:04.000000000 +0200
@@ -687,7 +687,7 @@
cdk_ctx_t hd;
cdk_keydb_hd_t db;
int rc;
- char * s = "/home/twoaday/.gnupg/pubring.cdk";
+ char * s = getenv ("PUBGPG") ? getenv ("PUBGPG") : "pub.gpg";
const char * pk =
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n"
"\n"
@@ -705,20 +705,32 @@
"-----END PGP PUBLIC KEY BLOCK-----\n";
unsigned char * out;
size_t olen = 0;
-
+
rc = cdk_handle_new (&hd);
- assert (!rc);
+ printf ("cdk_handle_new rc %d\n", rc);
+ if (rc != 0)
+ return rc;
+
rc = cdk_keydb_new (&db, CDK_DBTYPE_PK_KEYRING, s, strlen (s));
- assert (!rc);
+ printf ("cdk_keydb_new rc %d\n", rc);
+ if (rc != 0)
+ return rc;
+
cdk_handle_set_keydb (hd, db);
rc = cdk_data_transform (hd, CDK_CRYPTYPE_IMPORT, NULL, NULL,
- pk, strlen (pk), &out, &olen, 0);
- if (!rc)
- printf ("%s", out);
+ pk, strlen (pk), &out, &olen, 0);
+ printf ("cdk_data_transform rc %d\n", rc);
+ if (rc != 0)
+ return rc;
+ if (out)
+ printf ("%s", out);
cdk_handle_free (hd);
cdk_keydb_free (db);
- cdk_free (out);
+ if (out)
+ cdk_free (out);
+ if (rc != 0)
+ return 1;
return 0;
}
@@ -771,9 +783,10 @@
{
cdk_keydb_hd_t db;
cdk_kbnode_t node;
+ char * s = getenv ("PUBGPG") ? getenv ("PUBGPG") : "pub.gpg";
int rc;
- rc = cdk_keydb_new (&db, CDK_DBTYPE_PK_KEYRING, "pubring.gpg", 11);
+ rc = cdk_keydb_new (&db, CDK_DBTYPE_PK_KEYRING, s, 11);
if (!rc)
rc = cdk_keydb_search_start (db, CDK_DBSEARCH_NEXT, NULL);
/*rc = cdk_keydb_search_start (db, CDK_DBSEARCH_AUTO,
@@ -791,20 +804,28 @@
if (rc)
printf ("keydb error `%s'\n", cdk_strerror (rc));
cdk_keydb_free (db);
- return rc;
+ if (rc != CDK_Error_No_Key)
+ return 1;
+ return 0;
}
int
main (int argc, char ** argv)
{
- /*test_encrypt (argc, argv);*/
- /*test_decrypt (argc, argv);*/
- /*test_sign (argc, argv);*/
- /*test_verify (argc, argv);*/
- /*test_import (argc, argv);*/
- test_keydb_routines ();
- return 0;
-}
+ int rc;
+ /*test_encrypt (argc, argv);*/
+ /*test_decrypt (argc, argv);*/
+ /*test_sign (argc, argv);*/
+ /*test_verify (argc, argv);
+ rc = test_import (argc, argv);
+ if (rc != 0)
+ return rc;
+ */
+ rc = test_keydb_routines ();
+ if (rc != 0)
+ return rc;
+ return 0;
+}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |