Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Unified Diff: nss/lib/softoken/fipstokn.c

Issue 195763027: Update NSS to NSS_3_16_RC0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Use the RTM tag Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nss/lib/softoken/fipstest.c ('k') | nss/lib/softoken/lowkey.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « nss/lib/softoken/fipstest.c ('k') | nss/lib/softoken/lowkey.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698