Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > 4cb58acf0bfdd2aaf21efc32197a6da2 > files > 12

openCryptoki-2.2.4-22.el5_4.2.src.rpm

--- a/usr/sbin/pkcs11_startup/pkcs11_startup.in	2005-05-05 23:57:25.000000000 +0200
+++ b/usr/sbin/pkcs11_startup/pkcs11_startup.in	2007-11-07 23:51:47.000000000 +0100
@@ -398,14 +398,10 @@
     then
 	    @METHOD_PATH@/pkcs_slot 0  ica
     else
-	/bin/cat /proc/devices | grep z90crypt  >/dev/null 2>&1
- 	rc1=$?
-	/bin/cat /proc/misc | grep z90crypt  >/dev/null 2>&1
- 	rc2=$?
-	if [ $rc1 = 0 -o $rc2 = 0 ]
-	then
-	    @METHOD_PATH@/pkcs_slot 0  ica
-	fi
+	# We used to require hardware for the ICA token, now we allow
+	# its use as a software token on System Z. - KEY Sep/2007
+	#
+	@METHOD_PATH@/pkcs_slot 0  ica
     fi
 fi