- Fix pkcs11-tool usage message crash ().

This commit is contained in:
Ville Skyttä 2007-07-26 19:08:39 +00:00
parent 58d5fcb005
commit dff5ca4a02
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
Index: src/tools/pkcs11-tool.c
===================================================================
--- src/tools/pkcs11-tool.c (revision 3231)
+++ src/tools/pkcs11-tool.c (working copy)
@@ -117,6 +117,7 @@
"Specify the type and length of the key to create, for example rsa:1024",
"Write an object (key, cert, data) to the card",
"Get object's CKA_VALUE attribute (use with --type)",
+ "Delete an object",
"Specify the application label of the data object (use with --type data)",
"Specify the application id of the data object (use with --type data)",
"Specify the type of object (e.g. cert, privkey, pubkey, data)",

View File

@ -2,7 +2,7 @@
Name: opensc
Version: 0.11.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Smart card library and applications
Group: System Environment/Libraries
@ -10,6 +10,7 @@ License: LGPL
URL: http://www.opensc-project.org/opensc/
Source0: http://www.opensc-project.org/files/opensc/%{name}-%{version}.tar.gz
Patch0: %{name}-0.11.1-develconfig.patch
Patch1: %{name}-0.11.3-p11t-249702.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pcsc-lite-devel >= 1.1.1
@ -55,6 +56,7 @@ OpenSC development files.
%prep
%setup -q
%patch0 -p1
%patch1 -p0
sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure # lib64 rpaths
f=doc/ChangeLog ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
cp -p src/pkcs15init/README ./README.pkcs15init
@ -144,6 +146,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Jul 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.3-2
- Fix pkcs11-tool usage message crash (#249702).
* Tue Jul 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.3-1
- 0.11.3.