Hello community, here is the log from the commit of package engine_pkcs11 for openSUSE:Factory checked in at Thu Aug 6 01:11:08 CEST 2009. -------- --- engine_pkcs11/engine_pkcs11.changes 2008-11-10 16:41:55.000000000 +0100 +++ /mounts/work_src_done/STABLE/engine_pkcs11/engine_pkcs11.changes 2009-08-05 16:27:33.000000000 +0200 @@ -1,0 +2,10 @@ +Wed Aug 5 14:00:33 CEST 2009 - sbrabec@suse.cz + +- Updated to version 0.1.6: + * Fixed set_pin (strdup causes segfault in OPENSSL_CLEANSE later) + * Require new libp11 0.2.5 with new function to get the slot id. + * Revert changes to slot parsing code - seems partial bogus and + orginal author doesn't respond to questions. + * print slot id in verbose mode. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- engine_pkcs11-0.1.5.tar.bz2 New: ---- engine_pkcs11-0.1.6.tar.bz2 engine_pkcs11-implicit-decl.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ engine_pkcs11.spec ++++++ --- /var/tmp/diff_new_pack.Calf0n/_old 2009-08-06 01:10:22.000000000 +0200 +++ /var/tmp/diff_new_pack.Calf0n/_new 2009-08-06 01:10:22.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package engine_pkcs11 (Version 0.1.5) +# spec file for package engine_pkcs11 (Version 0.1.6) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,17 +19,19 @@ Name: engine_pkcs11 -Version: 0.1.5 -Release: 5 +Version: 0.1.6 +Release: 1 Url: http://www.opensc-project.org/engine_pkcs11/ Group: Productivity/Security -License: BSD 3-Clause +License: BSD 3-clause (or similar) Summary: OpenSSL PKCS#11 Engine Source: %{name}-%{version}.tar.bz2 Source1: %{name}-COPYING Patch0: fix-pin-memory-corruption.patch Patch1: search-certs-by-label.patch -BuildRequires: libp11-devel libxslt pkg-config +Patch2: engine_pkcs11-implicit-decl.patch +BuildRequires: libp11-devel >= 0.2.5 libxslt pkg-config +Requires: libp11-1 >= 0.2.5 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -56,6 +58,7 @@ %setup %patch0 -p1 %patch1 -p1 +%patch2 cp -a %{S:1} COPYING %build ++++++ engine_pkcs11-0.1.5.tar.bz2 -> engine_pkcs11-0.1.6.tar.bz2 ++++++ ++++ 61632 lines of diff (skipped) ++++++ engine_pkcs11-implicit-decl.patch ++++++ --- src/engine_pkcs11.h +++ src/engine_pkcs11.h @@ -41,6 +41,8 @@ int inc_verbose(void); +int set_init_args(const char *init_args_orig); + int pkcs11_finish(ENGINE * engine); int pkcs11_init(ENGINE * engine); ++++++ search-certs-by-label.patch ++++++ --- /var/tmp/diff_new_pack.Calf0n/_old 2009-08-06 01:10:23.000000000 +0200 +++ /var/tmp/diff_new_pack.Calf0n/_new 2009-08-06 01:10:23.000000000 +0200 @@ -1,15 +1,13 @@ -Index: engine_pkcs11-0.1.5/src/engine_pkcs11.c -=================================================================== ---- engine_pkcs11-0.1.5.orig/src/engine_pkcs11.c -+++ engine_pkcs11-0.1.5/src/engine_pkcs11.c -@@ -496,7 +496,17 @@ static X509 *pkcs11_load_cert(ENGINE * e - fprintf(stderr, "Found %u cert%s:\n", count, - (count <= 1) ? "" : "s"); +--- engine_pkcs11-0.1.6/src/engine_pkcs11.c ++++ engine_pkcs11-0.1.6/src/engine_pkcs11.c +@@ -492,7 +492,17 @@ + fprintf(stderr, "Found %u cert%s:\n", cert_count, + (cert_count <= 1) ? "" : "s"); } - if ((s_slot_cert_id && *s_slot_cert_id) || (cert_id_len == 0)) { + + if (cert_label) { -+ for (n = 0; n < count; n++) { ++ for (n = 0; n < cert_count; n++) { + PKCS11_CERT *k = certs + n; + + if (k->label && strcmp (k->label, cert_label)) @@ -18,10 +16,10 @@ + + free(cert_label); + } else if ((s_slot_cert_id && *s_slot_cert_id) || (cert_id_len == 0)) { - for (n = 0; n < count; n++) { + for (n = 0; n < cert_count; n++) { PKCS11_CERT *k = certs + n; -@@ -516,8 +526,6 @@ static X509 *pkcs11_load_cert(ENGINE * e +@@ -512,8 +522,6 @@ } x509 = X509_dup(selected_cert->x509); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org