On Tue, 2006-01-03 at 12:48, Gary Gendel wrote:
> Darren,
> 
> I installed snv_28 over snv_18 which was originally installed over
> Solaris 10, all from CDs.  Even though it works fine, These messages are
> filling up my logs, one in [user.info] and two in [sshd.info] for every
> connection.

I've logged 6368332.

Patch attached if you can't wait until this gets integrated for a
fix.

-- 
Darren J Moffat 
------- usr/src/lib/pkcs11/libpkcs11/common/pkcs11Conf.c -------

Index: usr/src/lib/pkcs11/libpkcs11/common/pkcs11Conf.c
--- /ws/onnv-clone/usr/src/lib/pkcs11/libpkcs11/common/pkcs11Conf.c     Sat Jun
11 23:29:41 2005
+++
/cube/builds/darrenm/6368332/usr/src/lib/pkcs11/libpkcs11/common/pkcs11Conf.c
Tue Jan  3 04:57:35 2006
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */

-#pragma ident  "@(#)pkcs11Conf.c       1.18    05/06/08 SMI"
+#pragma ident  "%Z%%M% %I%     %E% SMI"

 #include <sys/types.h>
 #include <sys/stat.h>
@@ -434,7 +434,7 @@
                }

                /*
-                * Warn the administrator that a provider with
+                * Warn the administrator (at debug) that a provider with
                 * a significantly older or newer version of
                 * CRYPTOKI is being used.  It should not cause
                 * problems, but logging a warning makes it easier
@@ -444,7 +444,7 @@
                        CRYPTOKI_VERSION_WARN_MINOR) ||
                    (prov_info.cryptokiVersion.minor >
                        CRYPTOKI_VERSION_MINOR)) {
-                       cryptoerror(LOG_INFO,
+                       cryptoerror(LOG_DEBUG,
                            "libpkcs11: %s CRYPTOKI minor version, %d, may "
                            "not be compatible with minor version %d.",
                            fullpath, prov_info.cryptokiVersion.minor,

------- usr/src/lib/pkcs11/libpkcs11/common/pkcs11Global.h -------

Index: usr/src/lib/pkcs11/libpkcs11/common/pkcs11Global.h
--- /ws/onnv-clone/usr/src/lib/pkcs11/libpkcs11/common/pkcs11Global.h   Sat Jun
11 23:29:42 2005
+++
/cube/builds/darrenm/6368332/usr/src/lib/pkcs11/libpkcs11/common/pkcs11Global.h
Tue Jan  3 04:58:17 2006
@@ -27,7 +27,7 @@
 #ifndef _PKCS11_GLOBAL_H
 #define        _PKCS11_GLOBAL_H

-#pragma ident  "@(#)pkcs11Global.h     1.3     05/06/08 SMI"
+#pragma ident  "%Z%%M% %I%     %E% SMI"

 #ifdef __cplusplus
 extern "C" {
@@ -49,7 +49,7 @@

 /* CK_INFO: Information about cryptoki */
 #define        CRYPTOKI_VERSION_MAJOR  2
-#define        CRYPTOKI_VERSION_MINOR  11
+#define        CRYPTOKI_VERSION_MINOR  20
 #define        CRYPTOKI_VERSION_WARN_MINOR 10
 #define        MANUFACTURER_ID         "Sun Microsystems, Inc.          "
 #define        LIBRARY_DESCRIPTION     "Sun Crypto PKCS#11 Library      "

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to