Index: nss/lib/softoken/fipstokn.c |
=================================================================== |
--- nss/lib/softoken/fipstokn.c (revision 256695) |
+++ nss/lib/softoken/fipstokn.c (working copy) |
@@ -33,11 +33,6 @@ |
#include <unistd.h> |
#endif |
-#ifdef SOLARIS |
-#include <bsm/libbsm.h> |
-#define AUE_FIPS_AUDIT 34444 |
-#endif |
- |
#ifdef LINUX |
#include <pthread.h> |
#include <dlfcn.h> |
@@ -407,34 +402,6 @@ |
PR_smprintf_free(message); |
} |
#endif /* LINUX */ |
-#ifdef SOLARIS |
- { |
- int rd; |
- char *message = PR_smprintf("NSS " SOFTOKEN_LIB_NAME ": %s", msg); |
- |
- if (!message) { |
- return; |
- } |
- |
- /* open the record descriptor */ |
- if ((rd = au_open()) == -1) { |
- PR_smprintf_free(message); |
- return; |
- } |
- |
- /* write the audit tokens to the audit record */ |
- if (au_write(rd, au_to_text(message))) { |
- (void)au_close(rd, AU_TO_NO_WRITE, AUE_FIPS_AUDIT); |
- PR_smprintf_free(message); |
- return; |
- } |
- |
- /* close the record and send it to the audit trail */ |
- (void)au_close(rd, AU_TO_WRITE, AUE_FIPS_AUDIT); |
- |
- PR_smprintf_free(message); |
- } |
-#endif /* SOLARIS */ |
#else |
/* do nothing */ |
#endif |