summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Stormont <astormont@racktopsystems.com>2021-07-06 11:40:49 +0100
committerAndrew Stormont <astormont@racktopsystems.com>2021-08-13 15:22:12 +0100
commit99bbd8be9863c23df705ba5a97789ed021e4e3bd (patch)
treec88237efebd777b1eb0eb8236fc2caaab9c9398e
parentd209bf0d7c080e4110469ed3a2c94e2382091f6c (diff)
downloadillumos-joyent-99bbd8be9863c23df705ba5a97789ed021e4e3bd.tar.gz
13930 Build fails with modern NSS
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
-rw-r--r--usr/src/lib/libkmf/plugins/kmf_nss/common/nss_spi.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/lib/libkmf/plugins/kmf_nss/common/nss_spi.c b/usr/src/lib/libkmf/plugins/kmf_nss/common/nss_spi.c
index a710efca8b..0699065ca0 100644
--- a/usr/src/lib/libkmf/plugins/kmf_nss/common/nss_spi.c
+++ b/usr/src/lib/libkmf/plugins/kmf_nss/common/nss_spi.c
@@ -24,6 +24,8 @@
*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2021 RackTop Systems, Inc.
*/
#include <sys/types.h>
@@ -32,10 +34,6 @@
#include <fcntl.h>
#include <synch.h>
-#include <kmfapiP.h>
-#include <ber_der.h>
-/* NSS related headers */
-
#include <mps/nss.h>
#include <mps/cert.h>
#include <mps/certdb.h>
@@ -51,6 +49,9 @@
#include <mps/p12plcy.h>
#include <mps/prerror.h>
+#include <kmfapiP.h>
+#include <ber_der.h>
+
#define NSS_OK 0
mutex_t init_lock = DEFAULTMUTEX;