Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pki-core.spec'], chrootPath='/var/lib/mock/module-pki-core-10.6-8050020220429153924-01d2cef5-build-53413-14176/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pki-core.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pki-core.spec'], chrootPath='/var/lib/mock/module-pki-core-10.6-8050020220429153924-01d2cef5-build-53413-14176/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pki-core.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R5mUaA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pki-10.11.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/pki-10.11.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pki-10.11.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-Bug-2001576-pki-instance-creation-fails-for-IPA-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-replica-reinstallation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-AJP-connector-migration.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-pki-server-migrate-CLI.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qAibPB + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 ++ /usr/lib/jvm/jre-1.8.0-openjdk/bin/java -XshowSettings:properties -version ++ sed -n 's/ *java.version *= *\([0-9]\+\.[0-9]\+\).*/\1/p' + java_version=1.8 ++ echo 1.8 ++ sed -e 's/^1\.//' -e 's/\..*$//' + java_version=8 + app_server=tomcat-9.0 + /usr/bin/mkdir -p build + cd build + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON --no-warn-unused-cli -DVERSION=10.11.2-5.module+el8.5.0+348+5ea8f785 -DVAR_INSTALL_DIR:PATH=/var -DP11_KIT_TRUST=/etc/alternatives/libnssckbi.so.x86_64 -DJAVA_VERSION=8 -DJAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk -DPKI_JAVA_PATH=/usr/lib/jvm/jre-1.8.0-openjdk/bin/java -DJAVA_LIB_INSTALL_DIR=/usr/lib/java -DSYSTEMD_LIB_INSTALL_DIR=/usr/lib/systemd/system -DAPP_SERVER=tomcat-9.0 -DJAXRS_API_JAR=/usr/share/java/jboss-jaxrs-2.0-api.jar -DRESTEASY_LIB=/usr/share/java/resteasy -DNSS_DEFAULT_DB_TYPE=sql -DBUILD_PKI_CORE:BOOL=ON -DPYTHON_EXECUTABLE=/usr/libexec/platform-python -DWITH_CA:BOOL=ON -DWITH_KRA:BOOL=ON -DWITH_OCSP:BOOL=OFF -DWITH_TKS:BOOL=OFF -DWITH_TPS:BOOL=OFF -DWITH_ACME:BOOL=ON -DWITH_JAVADOC:BOOL=OFF -DWITH_TEST:BOOL=ON -DBUILD_PKI_CONSOLE:BOOL=OFF -DTHEME= .. Not searching for unused variables given on the command line. -- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test WITH_FPIC -- Performing Test WITH_FPIC - Success -- Performing Test WITH_STACK_PROTECTOR -- Performing Test WITH_STACK_PROTECTOR - Success -- Performing Test WITH_FORTIFY_SOURCE -- Performing Test WITH_FORTIFY_SOURCE - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'nspr' -- Found nspr, version 4.32.0 -- Found NSPR: /usr/lib64/libplds4.so;/usr/lib64/libplc4.so;/usr/lib64/libnspr4.so -- Checking for module 'nss' -- Found nss, version 3.67.0 -- Found NSS: /usr/lib64/libssl3.so;/usr/lib64/libsmime3.so;/usr/lib64/libnss3.so;/usr/lib64/libnssutil3.so -- Found Java: /usr/lib/jvm/jre-1.8.0-openjdk/bin/java (found version "1.8.0_312") -- Found JNI: /usr/lib/jvm/jre-1.8.0-openjdk/lib/amd64/libjawt.so -- Found Ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so -- Checking for module 'apr-1' -- Found apr-1, version 1.6.3 -- Found APR: /usr/lib64/libapr-1.so -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Using new 'sql' format for NSS_DEFAULT_DB_TYPE -- Found PythonInterp: /usr/libexec/platform-python (found version "3.6.8") -- Building pki.server for 3.6.8 -- PYTHON3_SITE_PACKAGES /usr/lib/python3.6/site-packages -- Building Python 3 pki client package -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for argp.h -- Looking for argp.h - found -- Looking for strncpy -- Looking for strncpy - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Found Sphinx: /usr/bin/sphinx-build -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/pki-10.11.2/build + /usr/bin/make VERBOSE= CMAKE_NO_VERBOSE=1 DESTDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 'INSTALL=install -p' --no-print-directory all [ 0%] Built target symkey-classes [ 1%] Packaging resources for symkey-jar [ 1%] Built target symkey-jar [ 2%] Generating src/main/java/com/netscape/symkey/SessionKey.h [ 3%] Building CXX object base/symkey/CMakeFiles/symkey_library.dir/src/main/java/com/netscape/symkey/Buffer.cpp.o [ 4%] Building CXX object base/symkey/CMakeFiles/symkey_library.dir/src/main/java/com/netscape/symkey/EncryptData.cpp.o [ 5%] Building CXX object base/symkey/CMakeFiles/symkey_library.dir/src/main/java/com/netscape/symkey/SessionKey.cpp.o [ 6%] Building CXX object base/symkey/CMakeFiles/symkey_library.dir/src/main/java/com/netscape/symkey/SymKey.cpp.o [ 7%] Building CXX object base/symkey/CMakeFiles/symkey_library.dir/src/main/java/com/netscape/symkey/NistSP800_108KDF.cpp.o [ 8%] Linking CXX shared library libsymkey.so [ 8%] Built target symkey_library [ 9%] Compiling Java sources for pki-cmsutil-classes [ 9%] Built target pki-cmsutil-classes [ 10%] Packaging resources for pki-cmsutil-jar [ 10%] Built target pki-cmsutil-jar [ 12%] Compiling Java sources for pki-util-test-classes [ 12%] Built target pki-util-test-classes [ 13%] Running JUnit test-pki-util TestRunner: Test PASSED TestRunner: See test reports in /builddir/build/BUILD/pki-10.11.2/build/base/util/reports [ 13%] Built target test-pki-util [ 13%] Built target pki-man [ 14%] Compiling Java sources for pki-certsrv-classes src/main/java/com/netscape/certsrv/client/PKIConnection.java:48: warning: [deprecation] AuthPNames in org.apache.http.auth.params has been deprecated import org.apache.http.auth.params.AuthPNames; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:50: warning: [deprecation] AuthPolicy in org.apache.http.client.params has been deprecated import org.apache.http.client.params.AuthPolicy; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:51: warning: [deprecation] HttpClientParams in org.apache.http.client.params has been deprecated import org.apache.http.client.params.HttpClientParams; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:52: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated import org.apache.http.conn.scheme.Scheme; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:53: warning: [deprecation] SchemeLayeredSocketFactory in org.apache.http.conn.scheme has been deprecated import org.apache.http.conn.scheme.SchemeLayeredSocketFactory; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:55: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.ClientParamsStack; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:56: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.DefaultHttpClient; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:59: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.EntityEnclosingRequestWrapper; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:60: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.RequestWrapper; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:62: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated import org.apache.http.params.HttpParams; ^ src/main/java/com/netscape/certsrv/cert/CertRevokeRequest.java:34: warning: [deprecation] RevocationReasonAdapter in org.mozilla.jss.netscape.security.x509 has been deprecated import org.mozilla.jss.netscape.security.x509.RevocationReasonAdapter; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:82: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated DefaultHttpClient httpClient = new DefaultHttpClient(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:82: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated DefaultHttpClient httpClient = new DefaultHttpClient(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:98: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:98: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:106: warning: [deprecation] AuthPolicy in org.apache.http.client.params has been deprecated authPref.add(AuthPolicy.BASIC); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:107: warning: [deprecation] AuthPNames in org.apache.http.auth.params has been deprecated httpClient.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF, authPref); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:148: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated HttpParams params = request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:148: warning: [deprecation] getParams() in HttpMessage has been deprecated HttpParams params = request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:149: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated if (params instanceof ClientParamsStack) { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:150: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:150: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:150: warning: [deprecation] getParams() in HttpMessage has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:153: warning: [deprecation] HttpClientParams in org.apache.http.client.params has been deprecated HttpClientParams.setRedirecting(params, true); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:196: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated RequestWrapper wrapper; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:198: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated wrapper = new EntityEnclosingRequestWrapper((HttpEntityEnclosingRequest)request); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:200: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated wrapper = new RequestWrapper(request); ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:229: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated if (request instanceof EntityEnclosingRequestWrapper) { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:230: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:230: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:275: warning: [deprecation] SchemeLayeredSocketFactory in org.apache.http.conn.scheme has been deprecated private class JSSProtocolSocketFactory implements SchemeLayeredSocketFactory { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:278: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated public Socket createSocket(HttpParams params) throws IOException { ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:286: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated HttpParams params) ^ src/main/java/com/netscape/certsrv/client/PKIConnection.java:378: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated public Socket createLayeredSocket(Socket socket, String target, int port, HttpParams params) ^ src/main/java/com/netscape/certsrv/cert/CertRevokeRequest.java:68: warning: [deprecation] RevocationReasonAdapter in org.mozilla.jss.netscape.security.x509 has been deprecated @XmlJavaTypeAdapter(RevocationReasonAdapter.class) ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 35 warnings [ 14%] Built target pki-certsrv-classes [ 15%] Packaging resources for pki-certsrv-jar [ 15%] Built target pki-certsrv-jar [ 15%] Built target pki-lib [ 16%] Compiling Java sources for pki-examples-classes [ 16%] Built target pki-examples-classes [ 17%] Building Python Client Library manual pages Running Sphinx v1.7.6 making output directory... loading pickled environment... not yet created building [mo]: all of 0 po files building [man]: all source files updating environment: 2 added, 0 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] pki looking for now-outdated files... none found pickling environment... done checking consistency... done writing... pki-python-client.1 { pki } build succeeded. The manual pages are in ../../../build/base/common/python/man. [ 17%] Built target dogtag_python_client_man_docs [ 18%] Building Python Client Library HTML documentation Running Sphinx v1.7.6 making output directory... loading pickled environment... not yet created building [mo]: all of 0 po files building [html]: all source files updating environment: 2 added, 0 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] pki looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 50%] index writing output... [100%] pki generating indices... genindex py-modindex highlighting module code... [ 7%] pki highlighting module code... [ 15%] pki.account highlighting module code... [ 23%] pki.cert highlighting module code... [ 30%] pki.client highlighting module code... [ 38%] pki.crypto highlighting module code... [ 46%] pki.encoder highlighting module code... [ 53%] pki.key highlighting module code... [ 61%] pki.kra highlighting module code... [ 69%] pki.profile highlighting module code... [ 76%] pki.system highlighting module code... [ 84%] pki.systemcert highlighting module code... [ 92%] pki.upgrade highlighting module code... [100%] pki.util writing additional pages... search copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. The HTML pages are in ../../../build/base/common/python/html. [ 18%] Built target dogtag_python_client_docs [ 19%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/secerror.c.o [ 20%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/secpwd.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] #define QUIET_FGETS fgets ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' QUIET_FGETS ( phrase, sizeof(phrase), input); ^~~~~~~~~~~ [ 21%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/secutil.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:119:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(out, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:138:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:154:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:173:30: warning: unused parameter 'arg' [-Wunused-parameter] SECU_GetPasswordString(void *arg, char *prompt) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:223:31: warning: unused parameter 'slot' [-Wunused-parameter] SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:378:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] SECStatus rv; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:507:47: warning: unused parameter 'fd' [-Wunused-parameter] SECU_GetClientAuthData(void *arg, PRFileDesc *fd, ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:508:35: warning: unused parameter 'caNames' [-Wunused-parameter] struct CERTDistNamesStr *caNames, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:1517:56: warning: unused parameter 'arena' [-Wunused-parameter] secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:1692:57: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:1806:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:1874:64: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:1933:75: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, const char *msg, int level) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:1959:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:2153:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] if (flags & CERTDB_VALID_PEER) ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:2265:69: warning: unused parameter 'm' [-Wunused-parameter] SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) ~~~~~~~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:2953:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] if ( flags & CERTDB_VALID_PEER ) { ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3029:52: warning: unused parameter 'progName' [-Wunused-parameter] SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3291:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (unsigned int)node->arg; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (unsigned int)node->arg; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3391:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3605:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] CERTAuthKeyID* authorityKeyID, PRTime validTime) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3292:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (flags) { ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3306:6: note: here case SEC_ERROR_INADEQUATE_CERT_TYPE: ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3308:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (flags) { ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/secutil.c:3332:6: note: here case SEC_ERROR_UNKNOWN_ISSUER: ^~~~ [ 23%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/pppolicy.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/pppolicy.c:184:43: warning: unused parameter 'msg' [-Wunused-parameter] const char *msg, int level) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/pppolicy.c:239:73: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, const char *msg, int level) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/pppolicy.c:227:11: warning: this statement may fall through [-Wimplicit-fallthrough=] if (SECSuccess == rv) ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/pppolicy.c:230:4: note: here case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: ^~~~ [ 24%] Building C object base/tools/src/main/native/p7tool/CMakeFiles/p7tool.dir/p7tool.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c: In function 'decryption_allowed': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:128:36: warning: unused parameter 'algid' [-Wunused-parameter] decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) ~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:128:55: warning: unused parameter 'key' [-Wunused-parameter] decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:134:1: warning: no previous prototype for 'DecodeAndPrintFile' [-Wmissing-prototypes] DecodeAndPrintFile(FILE *out, PRFileDesc *in, char *progName, int ascii, ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c: In function 'DecodeAndPrintFile': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:234:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] SECItem **items = NULL; ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:251:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int i= 0; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:255:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] prefix = "chaincert"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:259:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] FILE *outFile; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:261:17: warning: variable 'nb' set but not used [-Wunused-but-set-variable] int nb = 0; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c: In function 'main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p7tool/p7tool.c:341:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] prefix = optstate->value; ^ [ 25%] Linking C executable p7tool [ 25%] Built target p7tool [ 26%] Building C object base/tools/src/main/native/revoker/CMakeFiles/revoker.dir/revoker.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:125:8: warning: no previous prototype for 'ownPasswd' [-Wmissing-prototypes] char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'ownPasswd': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:125:33: warning: unused parameter 'slot' [-Wunused-parameter] char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'myBadCertHandler': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:199:25: warning: unused parameter 'arg' [-Wunused-parameter] myBadCertHandler( void *arg, PRFileDesc *fd) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:199:42: warning: unused parameter 'fd' [-Wunused-parameter] myBadCertHandler( void *arg, PRFileDesc *fd) ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:209:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] my_GetClientAuthData(void * arg, ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'my_GetClientAuthData': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:227:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:230:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:277:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] printSecurityInfo(PRFileDesc *fd) ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:321:1: warning: no previous prototype for 'do_writes' [-Wmissing-prototypes] do_writes( ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:357:1: warning: no previous prototype for 'do_io' [-Wmissing-prototypes] do_io( PRFileDesc *ssl_sock, int connection) ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:425:1: warning: no previous prototype for 'do_connect' [-Wmissing-prototypes] do_connect( ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'do_connect': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:433:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] SECStatus result; ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:496:1: warning: no previous prototype for 'getIPAddress' [-Wmissing-prototypes] getIPAddress(const char * hostName) ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:518:1: warning: no previous prototype for 'client_main' [-Wmissing-prototypes] client_main( ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'client_main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:544:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] PRAddrInfo *ai; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:520:25: warning: unused parameter 'connections' [-Wunused-parameter] int connections, ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:521:25: warning: unused parameter 'privKey' [-Wunused-parameter] SECKEYPrivateKey ** privKey, ~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:522:25: warning: unused parameter 'cert' [-Wunused-parameter] CERTCertificate ** cert, ~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:626:1: warning: no previous prototype for 'createRequest' [-Wmissing-prototypes] createRequest(char * serials, char *reason, char *invalidity, int take_off_hold) ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'createRequest': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:678:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] old = ""; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:688:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] iDate = ""; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:727:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char * dir = "."; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:839:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] revocation_reason = "0"; ^ At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:311:19: warning: 'outHeader' defined but not used [-Wunused-const-variable=] static const char outHeader[] = { ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c: In function 'main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/revoker/revoker.c:894:9: warning: 'fp' may be used uninitialized in this function [-Wmaybe-uninitialized] fclose(fp); ^~~~~~~~~~ [ 27%] Building C object base/tools/src/main/native/revoker/CMakeFiles/revoker.dir/getopt.c.o [ 28%] Linking C executable revoker [ 28%] Built target revoker [ 29%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/b64.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/b64.c: In function 'ldif_base64_encode_internal': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/b64.c:38:21: warning: variable 'len' set but not used [-Wunused-but-set-variable] int i, pad, len; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/b64.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/b64.c:98:1: warning: no previous prototype for 'ldif_base64_encode' [-Wmissing-prototypes] ldif_base64_encode( unsigned char *src, char *dst, int srclen, int lenused ) ^~~~~~~~~~~~~~~~~~ [ 30%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/options.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/options.c: In function 'OPT_parseArgument': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/options.c:104:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return OPT_parseOptFile(&arg[8],validlist); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 31%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/setpin.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:138:8: warning: no previous prototype for 'trim_strdup' [-Wmissing-prototypes] char * trim_strdup(char *s) ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:147:6: warning: no previous prototype for 'readInputFile' [-Wmissing-prototypes] void readInputFile() { ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:359:6: warning: no previous prototype for 'do_setup' [-Wmissing-prototypes] void do_setup() { ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c: In function 'do_setup': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:384:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] x.mod_type = "attributetypes"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:408:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] x.mod_type = "objectclasses"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:439:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] a1_values[0] = "pinmanager"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:442:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] a1.mod_type = "sn"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:445:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] a2_values[0] = "pinmanager"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:448:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] a2.mod_type = "cn"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:454:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] a3.mod_type = "userPassword"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:457:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] a4_values[0] = "person"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:460:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] a4.mod_type = "objectclass"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:507:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] x.mod_type = "aci"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c: In function 'sha256_pw_enc': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:545:38: warning: pointer targets in passing argument 3 of 'PK11_HashBuf' differ in signedness [-Wpointer-sign] PK11_HashBuf(SEC_OID_SHA256,hash,pwd,strlen(pwd)); ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:68:18: note: expected 'const unsigned char *' but argument is of type 'char *' extern SECStatus PK11_HashBuf(SECOidTag hashAlg, ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:558:5: warning: no previous prototype for 'isstring' [-Wmissing-prototypes] int isstring(char *s) { ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:570:6: warning: no previous prototype for 'doLDAPBind' [-Wmissing-prototypes] void doLDAPBind() { ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c: In function 'doLDAPBind': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:610:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct berval credential; ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:646:6: warning: no previous prototype for 'doLDAPUnbind' [-Wmissing-prototypes] void doLDAPUnbind(){ ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c: In function 'processSearchResults': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:733:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] bin = ""; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:809:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] objectclass.mod_type = "objectclass"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:960:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr,"o_write = %0x\n",(unsigned int)o_write); ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:664:9: warning: variable 'change' set but not used [-Wunused-but-set-variable] int change=0; ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:1016:6: warning: no previous prototype for 'buildCharpool' [-Wmissing-prototypes] void buildCharpool() { ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:1057:6: warning: no previous prototype for 'initrandom' [-Wmissing-prototypes] void initrandom() { ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:1078:16: warning: no previous prototype for 'getRandomShort' [-Wmissing-prototypes] unsigned short getRandomShort() { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:1120:16: warning: no previous prototype for 'getRandomInRange' [-Wmissing-prototypes] unsigned short getRandomInRange(unsigned short max) { ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:1139:8: warning: no previous prototype for 'newPassword' [-Wmissing-prototypes] char * newPassword() { ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin.c:1172:6: warning: no previous prototype for 'testpingen' [-Wmissing-prototypes] void testpingen() { ^~~~~~~~~~ [ 32%] Building C object base/tools/src/main/native/setpin/CMakeFiles/setpin.dir/setpin_options.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:82:6: warning: no previous prototype for 'setDefaultOptions' [-Wmissing-prototypes] void setDefaultOptions() { ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c: In function 'setDefaultOptions': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:83:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_certdb= "."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:96:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_gen= "RNG-alphanum"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:98:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_attribute="pin"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:99:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_hash= "sha256"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:100:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_objectclass="pinPerson"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:102:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_retry= "5"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:114:6: warning: no previous prototype for 'getOptions' [-Wmissing-prototypes] void getOptions() { ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c: In function 'getOptions': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:128:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (i) o_ssl = "yes"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:159:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_debug = "yes"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:163:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (i) o_write = "yes"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:165:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (i) o_clobber = "yes"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:170:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_testpingen = "25"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:181:5: warning: no previous prototype for 'equals' [-Wmissing-prototypes] int equals(const char *s, const char *t) { ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/setpin/setpin_options.c:185:6: warning: no previous prototype for 'validateOptions' [-Wmissing-prototypes] void validateOptions() { ^~~~~~~~~~~~~~~ [ 34%] Linking C executable setpin [ 34%] Built target setpin [ 35%] Building C object base/tools/src/main/native/sslget/CMakeFiles/sslget.dir/sslget.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: In function 'ownPasswd': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:126:26: warning: unused parameter 'slot' [-Wunused-parameter] ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: In function 'myBadCertHandler': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:190:25: warning: unused parameter 'arg' [-Wunused-parameter] myBadCertHandler( void *arg, PRFileDesc *fd) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:190:42: warning: unused parameter 'fd' [-Wunused-parameter] myBadCertHandler( void *arg, PRFileDesc *fd) ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:200:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] my_GetClientAuthData(void * arg, ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: In function 'my_GetClientAuthData': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:218:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:221:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:268:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] printSecurityInfo(PRFileDesc *fd) ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: In function 'do_io': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:451:14: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *status_string = PL_strndup(buf+9, 3); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: In function 'do_connect': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:485:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] SECStatus result; ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: In function 'client_main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:673:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] PRAddrInfo *ai; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:572:25: warning: unused parameter 'connections' [-Wunused-parameter] int connections, ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:573:25: warning: unused parameter 'privKey' [-Wunused-parameter] SECKEYPrivateKey ** privKey, ~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:574:25: warning: unused parameter 'cert' [-Wunused-parameter] CERTCertificate ** cert, ~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c: In function 'main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:797:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char * dir = "."; ^~~ At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/sslget/sslget.c:548:1: warning: 'getIPAddress' defined but not used [-Wunused-function] getIPAddress(const char * hostName) ^~~~~~~~~~~~ [ 36%] Building C object base/tools/src/main/native/sslget/CMakeFiles/sslget.dir/getopt.c.o [ 37%] Linking C executable sslget [ 37%] Built target sslget [ 38%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/delete.c.o [ 39%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/file.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/file.c: In function 'TKS_ReadInputFileIntoSECItem': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] char *wrappedKeyName, ~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/file.c: In function 'TKS_WriteSECItemIntoOutputFile': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] char *wrappedKeyName, ~~~~~~~~~^~~~~~~~~~~~~~ [ 40%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/find.c.o [ 41%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/help.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/help.c: In function 'TKS_PrintHelp': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] TKS_PrintHelp( char *progName ) ~~~~~~^~~~~~~~ [ 42%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/key.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c: In function 'InputHexSessionKey': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:229:19: warning: comparison of integer expressions of different signedness: 'int' and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:234:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for( i = count; i < hexSessionKeyShare->len; i += 4 ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:904:23: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:909:27: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'unsigned int' [-Wsign-compare] for( i = count; i < hexSessionKeyShare.len; i += 4 ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c: In function 'TKS_ImportSymmetricKey': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:1080:44: warning: declaration of 'pwdata' shadows a global declaration [-Wshadow] secuPWData *pwdata, PRBool isPerm ) ~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:22:15: note: shadowed declaration is here secuPWData pwdata = { PW_NONE, ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:1082:17: warning: unused variable 'origin' [-Wunused-variable] PK11Origin origin = PK11_OriginGenerated; ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:1077:44: warning: unused parameter 'mechanism' [-Wunused-parameter] CK_MECHANISM_TYPE mechanism, ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:1078:44: warning: unused parameter 'operation' [-Wunused-parameter] CK_ATTRIBUTE_TYPE operation, ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/key.c:1080:44: warning: unused parameter 'pwdata' [-Wunused-parameter] secuPWData *pwdata, PRBool isPerm ) ~~~~~~~~~~~~~~~~~~~^~~~~~ [ 43%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/list.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/list.c: In function 'TKS_ListKeys': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/list.c:132:19: warning: unused parameter 'index' [-Wunused-parameter] int index, ~~~~^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/list.c:133:22: warning: unused parameter 'dopriv' [-Wunused-parameter] PRBool dopriv, ~~~~~~~^~~~~~ [ 45%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/modules.c.o [ 46%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/pppolicy.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:76:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyQualifier, qualifierID) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:78:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyQualifier, qualifierValue) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:86:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyInfo, policyID) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:89:4: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] secu_PolicyQualifierTemplate }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here unsigned int size; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:181:43: warning: unused parameter 'msg' [-Wunused-parameter] const char *msg, int level) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:236:71: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,const char *msg,int level) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] if (SECSuccess == rv) ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/pppolicy.c:227:4: note: here case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: ^~~~ [ 47%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/random.c.o [ 48%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/retrieve.c.o [ 49%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/secerror.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] SECU_Strerror(PRErrorCode errNum) { ^~~~~~~~~~~~~ [ 50%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/secpwd.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] #define QUIET_FGETS fgets ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' QUIET_FGETS ( phrase, sizeof(phrase), input); ^~~~~~~~~~~ [ 51%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/secutil.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] SECU_GetString(int16 error_number) ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] SECU_PrintErrMsg(FILE *out, int level, const char *progName, const char *msg, ...) ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:118:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(out, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:137:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:153:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] SECU_GetPasswordString(void *arg, char *prompt) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:222:31: warning: unused parameter 'slot' [-Wunused-parameter] SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:263:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secuPWData pwxtrn = { PW_EXTERNAL, "external" }; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:308:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:376:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] SECStatus rv; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:485:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!home) home = ""; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:505:47: warning: unused parameter 'fd' [-Wunused-parameter] SECU_GetClientAuthData(void *arg, PRFileDesc *fd, ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:506:35: warning: unused parameter 'caNames' [-Wunused-parameter] struct CERTDistNamesStr *caNames, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:546:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] secu_StdinToItem(SECItem *dst) ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ReadDERFromFile': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:671:2: warning: missing initializer for field 'len' of 'SECItem' {aka 'struct SECItemStr'} [-Wmissing-field-initializers] SECItem filedata = {siBuffer,0}; ^~~~~~~ In file included from /usr/include/nss3/blapit.h:11, from /usr/include/nss3/cryptohi.h:11, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:59: /usr/include/nss3/seccomon.h:53:18: note: 'len' declared here unsigned int len; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:877:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] SECU_StripTagAndLength(SECItem *i) ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1077:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] SECU_PrintSet(FILE *out, SECItem *t, const char *m, int level) ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1209:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] SECU_PrintEncodedBoolean(FILE *out, SECItem *i, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1218:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] SECU_PrintEncodedInteger(FILE *out, SECItem *i, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1227:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] SECU_PrintEncodedObjectID(FILE *out, SECItem *i, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1515:56: warning: unused parameter 'arena' [-Wunused-parameter] secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1690:57: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1804:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1872:64: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1931:69: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:1957:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintName': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2130:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = "!Invalid AVA!"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2151:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] if (flags & CERTDB_VALID_PEER) ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2194:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] name = "(NULL)"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2213:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2234:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] SECU_PrintSetOfExtensions(FILE *out, SECItem **any, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2249:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] SECU_PrintSetOfAny(FILE *out, SECItem **any, const char *m, int level) ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2263:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2263:69: warning: unused parameter 'm' [-Wunused-parameter] SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) ~~~~~~~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2277:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2952:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] printFlags(FILE *out, unsigned int flags, int level) ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:2954:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] if ( flags & CERTDB_VALID_PEER ) { ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3030:52: warning: unused parameter 'progName' [-Wunused-parameter] SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_PrintPRandOSError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3235:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if (errLen > 0 && errLen < sizeof buffer) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3239:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if (errLen > 0 && errLen < sizeof buffer) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3299:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (unsigned int)node->arg; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3302:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot sign."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3305:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot encrypt."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3308:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot sign other certs."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3311:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "[unknown usage]."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3315:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (unsigned int)node->arg; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3319:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for SSL."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3322:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an SSL CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for SMIME."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3328:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an SMIME CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3331:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for object signing."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3334:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an object signing CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3337:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "[unknown usage]."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3399:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3613:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] CERTAuthKeyID* authorityKeyID, PRTime validTime) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3300:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (flags) { ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3314:6: note: here case SEC_ERROR_INADEQUATE_CERT_TYPE: ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3316:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (flags) { ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/secutil.c:3340:6: note: here case SEC_ERROR_UNKNOWN_ISSUER: ^~~~ [ 52%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/tkstool.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/tkstool.c: In function 'main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/tkstool.c:155:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *DBPrefix = ""; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/tkstool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *slotname = "internal"; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/tkstool.c:878:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/tkstool.c:888:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/tkstool.c:919:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/tkstool.c:931:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ [ 53%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/util.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] TKS_ClearScreen() ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] TKS_WaitForUser() ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] TKS_TypeProceedToContinue() ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c: In function 'TKS_TypeProceedToContinue': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] tcflag_t orig_lflag; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] cc_t orig_cc_time; ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] cc_t orig_cc_min; ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] int rv = 0; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c: In function 'TKS_ClearScreen': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/tkstool/util.c:351:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system( "tput clear" ); ^~~~~~~~~~~~~~~~~~~~~~ [ 54%] Building C object base/tools/src/main/native/tkstool/CMakeFiles/tkstool.dir/version.c.o [ 56%] Linking C executable tkstool [ 56%] Built target tkstool [ 57%] Compiling Java sources for pki-tools-classes src/main/java/com/netscape/cmstools/cli/MainCLI.java:66: warning: [deprecation] ProxyCertCLI in com.netscape.cmstools.cert has been deprecated import com.netscape.cmstools.cert.ProxyCertCLI; ^ src/main/java/com/netscape/cmstools/cli/MainCLI.java:68: warning: [deprecation] ProxyGroupCLI in com.netscape.cmstools.group has been deprecated import com.netscape.cmstools.group.ProxyGroupCLI; ^ src/main/java/com/netscape/cmstools/cli/MainCLI.java:69: warning: [deprecation] ProxyKeyCLI in com.netscape.cmstools.key has been deprecated import com.netscape.cmstools.key.ProxyKeyCLI; ^ src/main/java/com/netscape/cmstools/cli/MainCLI.java:79: warning: [deprecation] ProxyUserCLI in com.netscape.cmstools.user has been deprecated import com.netscape.cmstools.user.ProxyUserCLI; ^ src/main/java/com/netscape/cmstools/cli/MainCLI.java:112: warning: [deprecation] ProxyCertCLI in com.netscape.cmstools.cert has been deprecated addModule(new ProxyCertCLI(this)); ^ src/main/java/com/netscape/cmstools/cli/MainCLI.java:113: warning: [deprecation] ProxyGroupCLI in com.netscape.cmstools.group has been deprecated addModule(new ProxyGroupCLI(this)); ^ src/main/java/com/netscape/cmstools/cli/MainCLI.java:114: warning: [deprecation] ProxyKeyCLI in com.netscape.cmstools.key has been deprecated addModule(new ProxyKeyCLI(this)); ^ src/main/java/com/netscape/cmstools/cli/MainCLI.java:116: warning: [deprecation] ProxyUserCLI in com.netscape.cmstools.user has been deprecated addModule(new ProxyUserCLI(this)); ^ src/main/java/com/netscape/cmstools/pkcs12/PKCS12CertCLI.java:39: warning: [deprecation] PKCS12CertAddCLI in com.netscape.cmstools.pkcs12 has been deprecated addModule(new PKCS12CertAddCLI(this)); ^ 9 warnings [ 57%] Built target pki-tools-classes [ 58%] Packaging resources for pki-tools-jar [ 58%] Built target pki-tools-jar [ 58%] Built target pki-DRMTool-man-link [ 58%] Built target pki-DRMTool-cfg-link [ 58%] Built target pki-tools-man [ 59%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/delete.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/delete.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ [ 60%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/file.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/file.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/file.c: In function 'TKS_ReadInputFileIntoSECItem': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] char *wrappedKeyName, ~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/file.c: In function 'TKS_WriteSECItemIntoOutputFile': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] char *wrappedKeyName, ~~~~~~~~~^~~~~~~~~~~~~~ [ 61%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/find.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/find.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ [ 62%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/help.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/help.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/help.c: In function 'TKS_PrintHelp': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] TKS_PrintHelp( char *progName ) ~~~~~~^~~~~~~~ [ 63%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/key.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c: In function 'InputHexSessionKey': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:224:19: warning: comparison of integer expressions of different signedness: 'int' and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:229:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for( i = count; i < hexSessionKeyShare->len; i += 4 ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:974:23: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:979:27: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'unsigned int' [-Wsign-compare] for( i = count; i < hexSessionKeyShare.len; i += 4 ) { ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:137:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SESSION_KEY "session" ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:998:53: note: in expansion of macro 'SESSION_KEY' SESSION_KEY, ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' char *keyType, ~~~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_InputSessionKeyShare': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:137:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SESSION_KEY "session" ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:1109:53: note: in expansion of macro 'SESSION_KEY' SESSION_KEY, ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' char *keyType, ~~~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_StoreSymmetricKeyAndNameIt': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:139:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define TRANSPORT_KEY "transport" ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:1376:61: note: in expansion of macro 'TRANSPORT_KEY' TRANSPORT_KEY, ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' char *keyType, ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_DetectKeyAlgorithm': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:1482:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] CK_MECHANISM_TYPE mechanism = PK11_GetMechanism(key); ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:896:18: warning: 'hexSessionKeyShare.len' may be used uninitialized in this function [-Wmaybe-uninitialized] SECItem hexSessionKeyShare; ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/key.c:1032:9: warning: 'hexSessionKeyShare.data' may be used uninitialized in this function [-Wmaybe-uninitialized] PORT_ZFree( ( unsigned char * ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hexSessionKeyShare.data, ~~~~~~~~~~~~~~~~~~~~~~~~ hexSessionKeyShare.len ); ~~~~~~~~~~~~~~~~~~~~~~~~ [ 64%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/list.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/list.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/list.c: In function 'TKS_ListKeys': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/list.c:153:19: warning: unused parameter 'index' [-Wunused-parameter] int index, ~~~~^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/list.c:154:22: warning: unused parameter 'dopriv' [-Wunused-parameter] PRBool dopriv, ~~~~~~~^~~~~~ [ 65%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/modules.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/modules.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ [ 67%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/pistool.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c: In function 'main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *DBPrefix = ""; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:167:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *slotname = "internal"; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:996:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1006:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1037:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1049:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if( errLen > 0 && errLen < sizeof buffer ) { ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:91:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FIRST_SESSION_KEY_SHARE "first" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1187:42: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' FIRST_SESSION_KEY_SHARE, ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' TKS_GenerateSessionKeyShare( char *sessionKeyShareName, ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:91:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FIRST_SESSION_KEY_SHARE "first" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1206:46: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' FIRST_SESSION_KEY_SHARE, ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' TKS_InputSessionKeyShare( char *sessionKeyShareName, ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:93:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SECOND_SESSION_KEY_SHARE "second" ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1271:43: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' SECOND_SESSION_KEY_SHARE, ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' TKS_GenerateSessionKeyShare( char *sessionKeyShareName, ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:93:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SECOND_SESSION_KEY_SHARE "second" ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1290:47: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' SECOND_SESSION_KEY_SHARE, ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' TKS_InputSessionKeyShare( char *sessionKeyShareName, ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:95:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define THIRD_SESSION_KEY_SHARE "third" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1422:42: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' THIRD_SESSION_KEY_SHARE, ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' TKS_GenerateSessionKeyShare( char *sessionKeyShareName, ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:95:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define THIRD_SESSION_KEY_SHARE "third" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1441:46: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' THIRD_SESSION_KEY_SHARE, ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' TKS_InputSessionKeyShare( char *sessionKeyShareName, ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:132:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FIRST_SYMMETRIC_KEY "first" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1569:21: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' FIRST_SYMMETRIC_KEY, ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:246:1: note: expected 'char *' but argument is of type 'const char *' TKS_ImportSymmetricKey( char *symmetricKeyName, ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:132:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FIRST_SYMMETRIC_KEY "first" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1588:57: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' firstSymmetricKey = TKS_ImportSymmetricKey( FIRST_SYMMETRIC_KEY, ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:246:1: note: expected 'char *' but argument is of type 'const char *' TKS_ImportSymmetricKey( char *symmetricKeyName, ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:133:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SECOND_SYMMETRIC_KEY "second" ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1624:21: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' SECOND_SYMMETRIC_KEY, ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:254:1: note: expected 'char *' but argument is of type 'const char *' TKS_DeriveSymmetricKey( char *symmetricKeyName, ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:133:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SECOND_SYMMETRIC_KEY "second" ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1646:58: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' secondSymmetricKey = TKS_DeriveSymmetricKey( SECOND_SYMMETRIC_KEY, ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:254:1: note: expected 'char *' but argument is of type 'const char *' TKS_DeriveSymmetricKey( char *symmetricKeyName, ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:134:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define THIRD_SYMMETRIC_KEY "third" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1684:21: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' THIRD_SYMMETRIC_KEY, ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:254:1: note: expected 'char *' but argument is of type 'const char *' TKS_DeriveSymmetricKey( char *symmetricKeyName, ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:134:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define THIRD_SYMMETRIC_KEY "third" ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1706:57: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' thirdSymmetricKey = TKS_DeriveSymmetricKey( THIRD_SYMMETRIC_KEY, ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:254:1: note: expected 'char *' but argument is of type 'const char *' TKS_DeriveSymmetricKey( char *symmetricKeyName, ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:139:48: warning: passing argument 1 of 'TKS_StoreSymmetricKeyAndNameIt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define TRANSPORT_KEY "transport" ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1739:62: note: in expansion of macro 'TRANSPORT_KEY' rvSymmetricKeyname = TKS_StoreSymmetricKeyAndNameIt( TRANSPORT_KEY, ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:263:52: note: expected 'char *' but argument is of type 'const char *' TKS_StoreSymmetricKeyAndNameIt( char *symmetricKeyName, ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1816:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(symmetricKey); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1827:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] switch(detectedAlg) ^~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:136:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define RESIDENT_KEY "resident" ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:1840:57: note: in expansion of macro 'RESIDENT_KEY' RESIDENT_KEY, ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' char *keyType, ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:136:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define RESIDENT_KEY "resident" ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2043:57: note: in expansion of macro 'RESIDENT_KEY' RESIDENT_KEY, ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' char *keyType, ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2178:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(symmetricKey); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2189:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] switch(detectedAlg) ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2378:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(transportKey); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2389:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] switch(detectedAlg) ^~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:140:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define UNWRAPPED_KEY "unwrapped" ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2498:43: note: in expansion of macro 'UNWRAPPED_KEY' UNWRAPPED_KEY, ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' char *keyType, ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2564:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] SECItem seciCKAExtractable; ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2698:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(transportKey); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2707:29: warning: comparison of integer expressions of different signedness: 'KeyAlgorithm' {aka 'enum KeyAlgorithm'} and 'int' [-Wsign-compare] else if(detectedAlg != keyAlg) ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2712:49: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case KEY_ALG_AES: detectedAlgString = ALG_AES; break; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2713:49: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case KEY_ALG_DES: detectedAlgString = ALG_DES; break; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2710:13: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] switch(detectedAlg) ^~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:141:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define WRAPPED_KEY "wrapped" ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2863:57: note: in expansion of macro 'WRAPPED_KEY' WRAPPED_KEY, ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' char *keyType, ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2962:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] SECItem seciCKAExtractable; ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:160:36: warning: variable 'DBDir' set but not used [-Wunused-but-set-variable] char *DBDir = NULL; ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pistool.c:2716:13: warning: 'detectedAlgString' may be used uninitialized in this function [-Wmaybe-uninitialized] PR_fprintf(PR_STDERR, ^~~~~~~~~~~~~~~~~~~~~ "The transport key type (%s) does not match the -a algorithm" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " parameter. Exiting.\n\n", detectedAlgString); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 68%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/pppolicy.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:76:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyQualifier, qualifierID) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:78:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyQualifier, qualifierValue) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:86:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyInfo, policyID) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:89:4: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] secu_PolicyQualifierTemplate }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here unsigned int size; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:200:9: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Display Text", level+1); ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:283:60: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintString(FILE *out, SECItem *si, char *m, int level); ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:181:37: warning: unused parameter 'msg' [-Wunused-parameter] char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:216:6: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Policy Qualifier Name", level); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:229:37: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, qualifierValue, "Policy Qualifier Data", level); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:241:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintObjectID(out, &policyInfo->policyID , "Policy Name", level); ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:244:50: warning: passing argument 3 of 'secu_PrintPolicyQualifier' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPolicyQualifier(out,*policyQualifiers,"",level+1); ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:210:12: note: expected 'char *' but argument is of type 'const char *' char *msg,int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:236:65: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'SECU_PrintPolicy': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:263:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Invalid Policy Data", level); ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:269:40: warning: passing argument 3 of 'secu_PrintPolicyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPolicyInfo(out,*policyInfos,"",level); ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:236:65: note: expected 'char *' but argument is of type 'const char *' secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'SECU_PrintPrivKeyUsagePeriodExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:292:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintGeneralizedTime(out, &prd->notBefore, "Not Before", level); ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:295:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintGeneralizedTime(out, &prd->notAfter, "Not After ", level); ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] if (SECSuccess == rv) ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/pppolicy.c:227:4: note: here case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: ^~~~ [ 69%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/random.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/random.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ [ 70%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/retrieve.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/retrieve.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ [ 71%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/secerror.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] SECU_Strerror(PRErrorCode errNum) { ^~~~~~~~~~~~~ [ 72%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/secpwd.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secpwd.c:44: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secpwd.c:69:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] #define QUIET_FGETS fgets ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' QUIET_FGETS ( phrase, sizeof(phrase), input); ^~~~~~~~~~~ [ 73%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/secutil.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:60: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] SECU_GetString(int16 error_number) ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:118:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(out, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:137:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:153:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] SECU_GetPasswordString(void *arg, char *prompt) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:221:31: warning: unused parameter 'slot' [-Wunused-parameter] SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:262:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secuPWData pwxtrn = { PW_EXTERNAL, "external" }; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:307:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_InitSlotPassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:349:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p0 = SEC_GetPassword(input, output, "Enter new password: ", ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *' extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:354:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p1 = SEC_GetPassword(input, output, "Re-enter password: ", ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:123:14: note: expected 'char *' but argument is of type 'const char *' extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:374:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] SECStatus rv; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:483:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!home) home = ""; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:503:47: warning: unused parameter 'fd' [-Wunused-parameter] SECU_GetClientAuthData(void *arg, PRFileDesc *fd, ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:504:35: warning: unused parameter 'caNames' [-Wunused-parameter] struct CERTDistNamesStr *caNames, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:544:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] secu_StdinToItem(SECItem *dst) ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:875:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] SECU_StripTagAndLength(SECItem *i) ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1075:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] SECU_PrintSet(FILE *out, SECItem *t, char *m, int level) ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1207:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] SECU_PrintEncodedBoolean(FILE *out, SECItem *i, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1216:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] SECU_PrintEncodedInteger(FILE *out, SECItem *i, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1225:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] SECU_PrintEncodedObjectID(FILE *out, SECItem *i, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintValidity': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1379:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintTimeChoice(out, &v->notBefore, "Not Before", level+1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1380:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintTimeChoice(out, &v->notAfter, "Not After ", level+1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAttribute': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1445:44: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintObjectID(out, &(attr->type), "Type", level+1); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintRSAPublicKey': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1474:48: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &pk->u.rsa.modulus, "Modulus", level+1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1475:55: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &pk->u.rsa.publicExponent, "Exponent", level+1); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintDSAPublicKey': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1486:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &pk->u.dsa.params.prime, "Prime", level+1); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1487:56: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &pk->u.dsa.params.subPrime, "Subprime", level+1); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1488:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &pk->u.dsa.params.base, "Base", level+1); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1489:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &pk->u.dsa.publicValue, "PublicValue", level+1); ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1519:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level+1); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1525:38: warning: passing argument 3 of 'secu_PrintRSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintRSAPublicKey(out, pk, "RSA Public Key", level +1); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1470:62: note: expected 'char *' but argument is of type 'const char *' secu_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1529:38: warning: passing argument 3 of 'secu_PrintDSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintDSAPublicKey(out, pk, "DSA Public Key", level +1); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1483:62: note: expected 'char *' but argument is of type 'const char *' secu_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1551:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1551:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1554:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, &i->subjectPublicKey, "Raw", level); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1513:56: warning: unused parameter 'arena' [-Wunused-parameter] secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintX509InvalidDate': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1575:22: warning: passing argument 2 of 'CERT_GenTime2FormattedAscii' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (invalidTime, "%a %b %d %H:%M:%S %Y"); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:54, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:60: /usr/include/nss3/secder.h:158:14: note: expected 'char *' but argument is of type 'const char *' extern char *CERT_GenTime2FormattedAscii(PRTime genTime, char *format); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintNSCertType': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1649:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1698:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1688:57: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintGeneralName': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1766:53: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny( out, &gname->name.OthName.name, "Other Name", level); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1767:53: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintObjectID(out, &gname->name.OthName.oid, "OID", level+1); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1770:50: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintName(out, &gname->name.directoryName, "Directory Name", level); ^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:293:61: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintName(FILE *out, CERTName *name, char *msg, int level); ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1773:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintRawString( out, &gname->name.other, "RFC822 Name", level); ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1776:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintRawString( out, &gname->name.other, "DNS name", level); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1779:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintRawString( out, &gname->name.other, "URI", level); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1782:47: warning: passing argument 3 of 'secu_PrintIPAddress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintIPAddress(out, &gname->name.other, "IP Address", level); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1723:54: note: expected 'char *' but argument is of type 'const char *' secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1785:47: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintObjectID( out, &gname->name.other, "Registered ID", level); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1788:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny( out, &gname->name.other, "X400 Address", level); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1791:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny( out, &gname->name.other, "EDI Party", level); ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1808:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1808:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1813:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1813:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1814:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1832:54: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1835:22: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Serial Number", level); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1802:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAltNameExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1849:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1849:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1858:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1858:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1859:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1876:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1876:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1893:45: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, &pPoint->derDistPoint, "Point", level); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1896:53: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintDecodedBitString(out, &pPoint->reasons, "Reasons", ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1900:49: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintGeneralName(out, pPoint->crlIssuer, "Issuer", level); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1904:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1904:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1905:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1870:64: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintNameConstraintSubtree': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1921:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &value->min, "Minimum", level+1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1923:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &value->max, "Maximum", level+1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1935:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1935:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1940:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1940:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1941:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Raw", level); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1945:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Permitted", level); ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1913:39: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1948:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Excluded", level); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1913:39: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1929:69: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1961:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1961:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError("Error", "Allocating new ArenaPool"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1966:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1966:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1967:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, value, "Raw", level); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1972:42: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintObjectID(out, &info->method, "Method", level); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1978:46: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintGeneralName(out, info->location, "Location", level); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1980:42: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, &info->derLocation, "Location", level); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1955:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintExtensions': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2003:39: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintObjectID(out, tmpitem, "Name", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2016:46: warning: passing argument 3 of 'secu_PrintX509InvalidDate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintX509InvalidDate(out, tmpitem, "Date", level ); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1560:60: note: expected 'char *' but argument is of type 'const char *' secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2019:37: warning: passing argument 3 of 'SECU_PrintPolicy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintPolicy(out, tmpitem, "Data", level ); ^~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:286:63: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level); ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2031:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintString(out,tmpitem, "URL", level); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintString(FILE *out, SECItem *si, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2034:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintString(out,tmpitem, "Comment", level); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintString(FILE *out, SECItem *si, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2037:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintString(out,tmpitem, "ServerName", level); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintString(FILE *out, SECItem *si, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2040:40: warning: passing argument 3 of 'secu_PrintNSCertType' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintNSCertType(out,tmpitem,"Data",level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1639:55: note: expected 'char *' but argument is of type 'const char *' secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2043:46: warning: passing argument 3 of 'secu_PrintBasicConstraints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintBasicConstraints(out,tmpitem,"Data",level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1604:61: note: expected 'char *' but argument is of type 'const char *' secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) { ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2108:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, tmpitem, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintName': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2128:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = "!Invalid AVA!"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2149:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] if (flags & CERTDB_VALID_PEER) ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2192:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] name = "(NULL)"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2211:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2232:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSetOfExtensions': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2239:55: warning: passing argument 3 of 'SECU_DecodeAndPrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level); ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2211:62: note: expected 'char *' but argument is of type 'const char *' SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2247:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSetOfAny': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2254:33: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, any[0], "", level); ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2261:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2265:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tag = SECU_PrintObjectID(out, &attr->attrType, "Attribute Type", level); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2267:55: warning: passing argument 3 of 'SECU_PrintSetOfExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2232:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2269:48: warning: passing argument 3 of 'SECU_PrintSetOfAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2247:52: note: expected 'char *' but argument is of type 'const char *' SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2261:63: warning: unused parameter 'm' [-Wunused-parameter] SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2275:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertificateRequest': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2307:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &cr->version, "Version", level+1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2308:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintName(out, &cr->subject, "Subject", level+1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2310:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Subject Public Key Info", level+1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1514:46: note: expected 'char *' but argument is of type 'const char *' CERTSubjectPublicKeyInfo *i, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2312:48: warning: passing argument 3 of 'SECU_PrintCertAttributes' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level+1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2275:66: note: expected 'char *' but argument is of type 'const char *' SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCertificate': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2339:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2339:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2340:26: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAny(out, der, "Raw", level); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2348:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &c->serialNumber, "Serial Number", level+1); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2349:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level+1); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2350:37: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintName(out, &c->issuer, "Issuer", level+1); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2351:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintValidity(out, &c->validity, "Validity", level+1); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1376:54: note: expected 'char *' but argument is of type 'const char *' secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2352:38: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintName(out, &c->subject, "Subject", level+1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2354:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Subject Public Key Info", level+1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1514:46: note: expected 'char *' but argument is of type 'const char *' CERTSubjectPublicKeyInfo *i, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2356:48: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintDecodedBitString(out, &c->issuerID, "Issuer Unique ID", level+1); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2358:49: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintDecodedBitString(out, &c->subjectID, "Subject Unique ID", level+1); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2359:46: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level+1); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1990:14: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7EncContent': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2482:6: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Content Encryption Algorithm", level+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintRecipientInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2496:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(info->version), "Version", level + 1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2498:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2501:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Serial Number", level + 1); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2505:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Key Encryption Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintSignerInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2521:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(info->version), "Version", level + 1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2523:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2526:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Serial Number", level + 1); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2528:52: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm", ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2543:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Digest Encryption Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintCRLInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2574:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm", ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2576:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintName(out, &(crl->name), "Issuer", level + 1); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2577:51: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintTimeChoice(out, &(crl->lastUpdate), "This Update", level + 1); ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2579:48: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintTimeChoice(out, &(crl->nextUpdate), "Next Update", level + 1); ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2586:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(entry->serialNumber), "Serial Number", ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2589:27: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Revocation Date", level + 2); ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2591:27: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Entry Extensions", level + 2); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1990:14: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2594:48: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1990:14: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Signed': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2613:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(src->version), "Version", level + 1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2627:9: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Content Information", level + 1); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2462:60: note: expected 'char *' but argument is of type 'const char *' secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2653:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Signature Algorithm", level+3); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2657:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2563:50: note: expected 'char *' but argument is of type 'const char *' SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Enveloped': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2689:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(src->version), "Version", level + 1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2703:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Encrypted Content Information", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2470:12: note: expected 'char *' but argument is of type 'const char *' char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2724:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(src->version), "Version", level + 1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2748:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Encrypted Content Information", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2470:12: note: expected 'char *' but argument is of type 'const char *' char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2772:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Signature Algorithm", level+3); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2776:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2563:50: note: expected 'char *' but argument is of type 'const char *' SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Encrypted': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2829:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(src->version), "Version", level + 1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2832:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Encrypted Content Information", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2470:12: note: expected 'char *' but argument is of type 'const char *' char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'secu_PrintPKCS7Digested': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2844:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintInteger(out, &(src->version), "Version", level + 1); ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2846:49: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm", ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2848:56: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPKCS7ContentInfo(out, &src->contentInfo, "Content Information", ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2462:60: note: expected 'char *' but argument is of type 'const char *' secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2946:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] printFlags(FILE *out, unsigned int flags, int level) ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2948:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] if ( flags & CERTDB_VALID_PEER ) { ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintSignedData': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3010:35: warning: passing argument 3 of 'inner' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv = (*inner)(out, &sd->data, "Data", level+1); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3010:35: note: expected 'char *' but argument is of type 'const char *' /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3012:57: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm", ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3016:38: warning: passing argument 3 of 'SECU_PrintFingerprints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintFingerprints(out, der, "Fingerprint", level+1); ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:2416:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3024:52: warning: unused parameter 'progName' [-Wunused-parameter] SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_PrintPRandOSError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3224:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if (errLen > 0 && errLen < sizeof buffer) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3227:31: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintError(progName, "function failed"); ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' SECU_PrintError(char *progName, char *msg, ...) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3228:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] if (errLen > 0 && errLen < sizeof buffer) { ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3288:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (unsigned int)node->arg; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3291:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot sign."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3294:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot encrypt."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3297:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot sign other certs."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3300:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "[unknown usage]."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3304:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (unsigned int)node->arg; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3308:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for SSL."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3311:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an SSL CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3314:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for SMIME."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3317:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an SMIME CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3320:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for object signing."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3323:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an object signing CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3326:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "[unknown usage]."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3388:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_DerSignDataCRL': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3544:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] PORT_Memset(sd, 0, sizeof(sd)); ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3604:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] CERTAuthKeyID* authorityKeyID, PRTime validTime) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3289:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (flags) { ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3303:6: note: here case SEC_ERROR_INADEQUATE_CERT_TYPE: ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3305:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (flags) { ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/secutil.c:3329:6: note: here case SEC_ERROR_UNKNOWN_ISSUER: ^~~~ [ 74%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/util.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] TKS_ClearScreen() ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] TKS_WaitForUser() ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] TKS_TypeProceedToContinue() ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c: In function 'TKS_TypeProceedToContinue': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] tcflag_t orig_lflag; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] cc_t orig_cc_time; ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] cc_t orig_cc_min; ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] int rv = 0; ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c: In function 'TKS_ClearScreen': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/util.c:351:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system( "tput clear" ); ^~~~~~~~~~~~~~~~~~~~~~ [ 75%] Building C object base/tools/src/main/native/pistool/src/CMakeFiles/pistool.dir/version.c.o In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/pistool/src/version.c:20: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ [ 76%] Linking C executable pistool [ 76%] Built target pistool [ 78%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/basicutil.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:35:1: warning: no previous prototype for 'SECU_EnableWrap' [-Wmissing-prototypes] SECU_EnableWrap(PRBool enable) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:41:1: warning: no previous prototype for 'SECU_GetWrapEnabled' [-Wmissing-prototypes] SECU_GetWrapEnabled(void) ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:58:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(out, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:78:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:99:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, msg, args); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:105:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] secu_StdinToItem(SECItem *dst) ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:486:52: warning: unused parameter 'progName' [-Wunused-parameter] SECU_ParseCommandLine(int argc, char **argv, char *progName, ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.c:648:1: warning: no previous prototype for 'SECU_StringToSignatureAlgTag' [-Wmissing-prototypes] SECU_StringToSignatureAlgTag(const char *alg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 79%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/pppolicy.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:35:7: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyQualifier, qualifierID) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:12: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:37:7: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyQualifier, qualifierValue) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:12: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:45:7: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] offsetof(CERTPolicyInfo, policyID) }, ^~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:12: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:48:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] secu_PolicyQualifierTemplate }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cert.h:21, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:12: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here unsigned int size; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:139:37: warning: unused parameter 'msg' [-Wunused-parameter] char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:202:59: warning: passing argument 3 of 'secu_PrintPolicyQualifier' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPolicyQualifier(out, *policyQualifiers, "", level + 1); ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:168:33: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:194:67: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c: In function 'SECU_PrintPolicy': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:227:49: warning: passing argument 3 of 'secu_PrintPolicyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPolicyInfo(out, *policyInfos, "", level); ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:194:67: note: expected 'char *' but argument is of type 'const char *' secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:182:20: warning: this statement may fall through [-Wimplicit-fallthrough=] if (SECSuccess == rv) ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/pppolicy.c:185:13: note: here case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: ^~~~ [ 80%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/secutil.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:86:30: warning: unused parameter 'arg' [-Wunused-parameter] SECU_GetPasswordString(void *arg, char *prompt) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:222:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secuPWData pwxtrn = { PW_EXTERNAL, "external" }; ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:246:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *pw = SECU_GetPasswordString(NULL, prompt); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:260:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_InitSlotPassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:319:45: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p0 = SEC_GetPassword(input, output, "Enter new password: ", ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:19: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:92:14: note: expected 'char *' but argument is of type 'const char *' extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:324:45: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p1 = SEC_GetPassword(input, output, "Re-enter password: ", ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:19: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:92:14: note: expected 'char *' but argument is of type 'const char *' extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:475:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] home = ""; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_ReadDERFromFile': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:514:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *asc = (char *)filedata.data; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:522:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *body; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:571:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] SECU_StripTagAndLength(SECItem *i) ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:614:1: warning: no previous prototype for 'SECU_ExtractBERAndStep' [-Wmissing-prototypes] SECU_ExtractBERAndStep(SECItem *in, SECItem *out) ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:968:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] SECU_PrintEncodedBoolean(FILE *out, const SECItem *i, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:977:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] SECU_PrintEncodedInteger(FILE *out, const SECItem *i, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:986:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] SECU_PrintEncodedObjectID(FILE *out, const SECItem *i, const char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1191:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] { SEC_ASN1_OCTET_STRING, offsetof(secuPBEParams, salt) }, ^ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1192:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] { SEC_ASN1_INTEGER, offsetof(secuPBEParams, iterationCount) }, ^ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1193:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] { SEC_ASN1_INTEGER, offsetof(secuPBEParams, keyLength) }, ^ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1195:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] SEC_ASN1_SUB(SECOID_AlgorithmIDTemplate) }, ^~~~~~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here unsigned int size; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1202:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] { SEC_ASN1_OCTET_STRING, offsetof(secuPBEParams, salt) }, ^ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1203:5: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] { SEC_ASN1_INTEGER, offsetof(secuPBEParams, iterationCount) }, ^ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here const void *sub; ^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1211:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] SEC_ASN1_SUB(SECOID_AlgorithmIDTemplate) }, ^~~~~~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here unsigned int size; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1213:7: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] SEC_ASN1_SUB(SECOID_AlgorithmIDTemplate) }, ^~~~~~~~~~~~ In file included from /usr/include/nss3/secoid.h:18, from /usr/include/nss3/secmodt.h:9, from /usr/include/nss3/keythi.h:10, from /usr/include/nss3/cryptohi.h:17, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:18: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here unsigned int size; ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1218:1: warning: no previous prototype for 'secu_PrintRSAPSSParams' [-Wmissing-prototypes] secu_PrintRSAPSSParams(FILE *out, SECItem *value, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1282:1: warning: no previous prototype for 'secu_PrintKDF2Params' [-Wmissing-prototypes] secu_PrintKDF2Params(FILE *out, SECItem *value, char *m, int level) ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintKDF2Params': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1306:51: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, ¶m.kdfAlg, "KDF algorithm", level + 1); ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:19: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1312:1: warning: no previous prototype for 'secu_PrintPKCS5V2Params' [-Wmissing-prototypes] secu_PrintPKCS5V2Params(FILE *out, SECItem *value, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS5V2Params': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1332:51: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, ¶m.kdfAlg, "KDF", level + 1); ^~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:19: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1333:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, ¶m.cipherAlg, "Cipher", level + 1); ^~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:19: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1339:1: warning: no previous prototype for 'secu_PrintPBEParams' [-Wmissing-prototypes] secu_PrintPBEParams(FILE *out, SECItem *value, char *m, int level) ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintAlgorithmID': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1377:59: warning: passing argument 3 of 'secu_PrintKDF2Params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintKDF2Params(out, &a->parameters, "Parameters", level + 1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1282:55: note: expected 'char *' but argument is of type 'const char *' secu_PrintKDF2Params(FILE *out, SECItem *value, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1380:62: warning: passing argument 3 of 'secu_PrintPKCS5V2Params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPKCS5V2Params(out, &a->parameters, "Encryption", level + 1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1312:58: note: expected 'char *' but argument is of type 'const char *' secu_PrintPKCS5V2Params(FILE *out, SECItem *value, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1383:62: warning: passing argument 3 of 'secu_PrintPKCS5V2Params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPKCS5V2Params(out, &a->parameters, "MAC", level + 1); ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1312:58: note: expected 'char *' but argument is of type 'const char *' secu_PrintPKCS5V2Params(FILE *out, SECItem *value, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1386:58: warning: passing argument 3 of 'secu_PrintPBEParams' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintPBEParams(out, &a->parameters, "Parameters", level + 1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1339:54: note: expected 'char *' but argument is of type 'const char *' secu_PrintPBEParams(FILE *out, SECItem *value, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1397:53: warning: passing argument 3 of 'secu_PrintRSAPSSParams' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintRSAPSSParams(out, &a->parameters, "Parameters", level + 1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1218:57: note: expected 'char *' but argument is of type 'const char *' secu_PrintRSAPSSParams(FILE *out, SECItem *value, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1497:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1503:49: warning: passing argument 3 of 'SECU_PrintRSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintRSAPublicKey(out, pk, "RSA Public Key", level + 1); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1465:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1507:49: warning: passing argument 3 of 'SECU_PrintDSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintDSAPublicKey(out, pk, "DSA Public Key", level + 1); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1479:62: note: expected 'char *' but argument is of type 'const char *' SECU_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1511:48: warning: passing argument 3 of 'secu_PrintECPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintECPublicKey(out, pk, "EC Public Key", level + 1); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1445:61: note: expected 'char *' but argument is of type 'const char *' secu_PrintECPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1490:56: warning: unused parameter 'arena' [-Wunused-parameter] secu_PrintSubjectPublicKeyInfo(FILE *out, PLArenaPool *arena, ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintDumpDerIssuerAndSerial': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1548:65: warning: unused parameter 'm' [-Wunused-parameter] SECU_PrintDumpDerIssuerAndSerial(FILE *out, SECItem *der, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1549:38: warning: unused parameter 'level' [-Wunused-parameter] int level) ~~~~^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintX509InvalidDate': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1635:70: warning: passing argument 2 of 'CERT_GenTime2FormattedAscii' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] formattedTime = CERT_GenTime2FormattedAscii(invalidTime, "%a %b %d %H:%M:%S %Y"); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:15, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:19: /usr/include/nss3/secder.h:158:14: note: expected 'char *' but argument is of type 'const char *' extern char *CERT_GenTime2FormattedAscii(PRTime genTime, char *format); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1748:57: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintGeneralName': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1842:58: warning: passing argument 3 of 'secu_PrintIPAddress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintIPAddress(out, &gname->name.other, "IP Address", level); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1783:54: note: expected 'char *' but argument is of type 'const char *' secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1894:61: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level); ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1817:64: note: expected 'char *' but argument is of type 'const char *' secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1872:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1963:63: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintGeneralName(out, pPoint->crlIssuer, "CRL issuer", ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1817:64: note: expected 'char *' but argument is of type 'const char *' secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1931:64: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2009:45: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Permitted", level); ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1976:39: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2012:45: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Excluded", level); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1976:39: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1993:69: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2041:60: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintGeneralName(out, info->location, "Location", level); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1817:64: note: expected 'char *' but argument is of type 'const char *' secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2018:63: warning: unused parameter 'msg' [-Wunused-parameter] secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintExtensions': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2079:61: warning: passing argument 3 of 'secu_PrintX509InvalidDate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintX509InvalidDate(out, tmpitem, "Date", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1621:60: note: expected 'char *' but argument is of type 'const char *' secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2082:52: warning: passing argument 3 of 'SECU_PrintPolicy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintPolicy(out, tmpitem, "Data", level); ^~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:19: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:282:63: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level); ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2103:56: warning: passing argument 3 of 'secu_PrintNSCertType' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintNSCertType(out, tmpitem, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1700:55: note: expected 'char *' but argument is of type 'const char *' secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2106:62: warning: passing argument 3 of 'secu_PrintBasicConstraints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintBasicConstraints(out, tmpitem, "Data", level); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1664:61: note: expected 'char *' but argument is of type 'const char *' secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintNameQuotesOptional': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2209:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = "(empty)"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2214:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = "!Invalid AVA!"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2285:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] name = "(NULL)"; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2303:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2324:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintSetOfExtensions': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2332:58: warning: passing argument 3 of 'SECU_DecodeAndPrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level); ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2303:62: note: expected 'char *' but argument is of type 'const char *' SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2340:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2355:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2361:62: warning: passing argument 3 of 'SECU_PrintSetOfExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2324:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2363:55: warning: passing argument 3 of 'SECU_PrintSetOfAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2340:52: note: expected 'char *' but argument is of type 'const char *' SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2355:63: warning: unused parameter 'm' [-Wunused-parameter] SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2369:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertificateRequest': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2408:36: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Subject Public Key Info", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1491:67: note: expected 'char *' but argument is of type 'const char *' CERTSubjectPublicKeyInfo *i, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2410:55: warning: passing argument 3 of 'SECU_PrintCertAttributes' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level + 1); ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2369:66: note: expected 'char *' but argument is of type 'const char *' SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertificate': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2449:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2453:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintValidity(out, &c->validity, "Validity", level + 1); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1140:54: note: expected 'char *' but argument is of type 'const char *' secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2458:36: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Subject Public Key Info", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1491:67: note: expected 'char *' but argument is of type 'const char *' CERTSubjectPublicKeyInfo *i, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2463:46: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level + 1); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2052:28: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCertificateBasicInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2496:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2500:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] secu_PrintValidity(out, &c->validity, "Validity", level + 1); ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1140:54: note: expected 'char *' but argument is of type 'const char *' secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2529:40: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Subject Public Key Info", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1491:67: note: expected 'char *' but argument is of type 'const char *' CERTSubjectPublicKeyInfo *i, char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintPrivateKey': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2555:48: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &key.algorithm, "Encryption Algorithm", ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7EncContent': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2655:27: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Content Encryption Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2643:42: warning: unused parameter 'state' [-Wunused-parameter] secuPKCS7State state, const char *m, int level) ~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintRecipientInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2680:27: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Key Encryption Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintSignerInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2705:52: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm", ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2720:27: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Digest Encryption Algorithm", level + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintCRLInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2752:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm", ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2770:34: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Entry Extensions", level + 2); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2052:28: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2773:48: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2052:28: note: expected 'char *' but argument is of type 'const char *' char *msg, int level) ~~~~~~^~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7Signed': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2836:35: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Signature Algorithm", level + 3); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2840:48: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2740:50: note: expected 'char *' but argument is of type 'const char *' SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2963:35: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Signature Algorithm", level + 3); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2967:48: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2740:50: note: expected 'char *' but argument is of type 'const char *' SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS7Digested': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3038:49: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm", ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS12Bag': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3158:39: warning: passing argument 3 of 'SECU_PrintPrivateKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Encrypted Private Key", level); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2537:53: note: expected 'char *' but argument is of type 'const char *' SECU_PrintPrivateKey(FILE *out, SECItem *der, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3404:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] printFlags(FILE *out, unsigned int flags, int level) ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintSignedDataSigOpt': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3519:35: warning: passing argument 3 of 'inner' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rv = (*inner)(out, &sd->data, "Data", level + 1); ^~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3519:35: note: expected 'char *' but argument is of type 'const char *' /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3522:61: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm", ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3527:38: warning: passing argument 3 of 'SECU_PrintFingerprints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SECU_PrintFingerprints(out, der, "Fingerprint", level + 1); ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:2564:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SEC_PrintCertificateAndTrust': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3601:30: warning: passing argument 3 of 'SECU_PrintTrustFlags' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Certificate Trust Flags", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3445:61: note: expected 'char *' but argument is of type 'const char *' SECU_PrintTrustFlags(FILE *out, CERTCertTrust *trust, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3604:30: warning: passing argument 3 of 'SECU_PrintTrustFlags' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Certificate Trust Flags", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3445:61: note: expected 'char *' but argument is of type 'const char *' SECU_PrintTrustFlags(FILE *out, CERTCertTrust *trust, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_displayVerifyLog': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3709:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot sign."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3712:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot encrypt."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3715:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot sign other certs."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3718:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "[unknown usage]."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3727:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for SSL."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3730:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an SSL CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3733:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for SMIME."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3736:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an SMIME CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3739:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used for object signing."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3742:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "Cert cannot be used as an object signing CA."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3745:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] errstr = "[unknown usage]."; ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3789:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { ^~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:3967:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] CERTAuthKeyID *authorityKeyID, PRTime validTime) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'countItems': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4221:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *p = strtok(str, ","); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4278:1: warning: no previous prototype for 'schemeNameToScheme' [-Wmissing-prototypes] schemeNameToScheme(const char *name) ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'parseSigSchemeList': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4330:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *str = PORT_Strdup(arg); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4334:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *p = strtok(str, ","); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'parseExporter': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4370:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *labelEnd = strchr(str, ':'); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4376:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *outputEnd = strchr(labelEnd, ':'); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4405:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *label = PORT_Strdup(str); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'parseExporters': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4439:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *str = PORT_Strdup(arg); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4443:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *p = strtok(str, ","); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'exportKeyingMaterial': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4493:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] SECItem temp = { siBuffer, out, exporter->outputLength }; ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'readPSK': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4527:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *pskBytes = strtok(str, ":"); ^~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4540:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] SECItem labelItem = { siBuffer, NULL, 0 }; ^~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS12DigestInfo': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4607:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mAlgID ? mAlgID : DIGEST_ALGID_STRING, level); ^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:1368:59: note: expected 'char *' but argument is of type 'const char *' SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'secu_PrintPKCS12MacData': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4657:62: warning: passing argument 3 of 'secu_PrintPKCS12DigestInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (SECSuccess != secu_PrintPKCS12DigestInfo(out, &hash, "Mac", level)) { ^~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4573:63: note: expected 'char *' but argument is of type 'const char *' secu_PrintPKCS12DigestInfo(FILE *out, const SECItem *t, char *m, int level) ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c: In function 'SECU_PrintPKCS12': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4728:47: warning: passing argument 3 of 'secu_PrintPKCS12MacData' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Mac Data", level)) { ^~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.c:4635:60: note: expected 'char *' but argument is of type 'const char *' secu_PrintPKCS12MacData(FILE *out, const SECItem *t, char *m, int level) ~~~~~~^ [ 81%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/secpwd.c.o [ 82%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/moreoids.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/moreoids.c:52:1: warning: no previous prototype for 'SECU_cert_fetchOID' [-Wmissing-prototypes] SECU_cert_fetchOID(SECOidTag *data, const SECOidData *src) ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/moreoids.c:61:11: warning: no previous prototype for 'SECU_GetNewTagFromOffset' [-Wmissing-prototypes] SECOidTag SECU_GetNewTagFromOffset(unsigned int offset) { ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/moreoids.c:69:1: warning: no previous prototype for 'SECU_RegisterDynamicOids' [-Wmissing-prototypes] SECU_RegisterDynamicOids(void) ^~~~~~~~~~~~~~~~~~~~~~~~ [ 83%] Building C object base/tools/src/main/native/p12tool/CMakeFiles/p12tool.dir/p12tool.c.o /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:137:1: warning: no previous prototype for 'P12U_NicknameCollisionCallback' [-Wmissing-prototypes] P12U_NicknameCollisionCallback(SECItem *old_nick, PRBool *cancel, void *wincx) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:260:1: warning: no previous prototype for 'P12U_UnicodeConversion' [-Wmissing-prototypes] P12U_UnicodeConversion(PLArenaPool *arena, SECItem *dest, SECItem *src, ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:289:1: warning: no previous prototype for 'P12U_GetP12FilePassword' [-Wmissing-prototypes] P12U_GetP12FilePassword(PRBool confirmPw, secuPWData *p12FilePw) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c: In function 'P12U_GetP12FilePassword': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:299:41: warning: passing argument 2 of 'SECU_GetPasswordString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Enter password for PKCS12 file: "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:97:7: note: expected 'char *' but argument is of type 'const char *' char *SECU_GetPasswordString(void *arg, char *prompt); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:302:47: warning: passing argument 2 of 'SECU_GetPasswordString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p1 = SECU_GetPasswordString(NULL, "Re-enter password: "); ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:97:7: note: expected 'char *' but argument is of type 'const char *' char *SECU_GetPasswordString(void *arg, char *prompt); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:332:1: warning: no previous prototype for 'P12U_InitSlot' [-Wmissing-prototypes] P12U_InitSlot(PK11SlotInfo *slot, secuPWData *slotPw) ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:365:1: warning: no previous prototype for 'p12U_ReadPKCS12File' [-Wmissing-prototypes] p12U_ReadPKCS12File(SECItem *uniPwp, char *in_file, PK11SlotInfo *slot, ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:504:1: warning: no previous prototype for 'P12U_ImportPKCS12Object' [-Wmissing-prototypes] P12U_ImportPKCS12Object(char *in_file, PK11SlotInfo *slot, ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:640:1: warning: no previous prototype for 'P12U_ExportPKCS12Object' [-Wmissing-prototypes] P12U_ExportPKCS12Object(char *nn, char *outfile, PK11SlotInfo *inSlot, ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:780:1: warning: no previous prototype for 'P12U_ListPKCS12File' [-Wmissing-prototypes] P12U_ListPKCS12File(char *in_file, PK11SlotInfo *slot, ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c: In function 'P12U_ListPKCS12File': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:833:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Encryption algorithm", 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:848:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Encryption algorithm", 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:177:71: note: expected 'char *' but argument is of type 'const char *' extern void SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, ~~~~~~^ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c: At top level: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:874:1: warning: no previous prototype for 'PKCS12U_FindTagFromString' [-Wmissing-prototypes] PKCS12U_FindTagFromString(char *cipherString) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:899:1: warning: no previous prototype for 'PKCS12U_MapCipherFromString' [-Wmissing-prototypes] PKCS12U_MapCipherFromString(char *cipherString, int keyLen) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:935:1: warning: no previous prototype for 'PKCS12U_MapHashFromString' [-Wmissing-prototypes] PKCS12U_MapHashFromString(char *hashString) ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1015:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_CertDir */ 'd', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1016:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_TokenName */ 'h', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1017:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_Import */ 'i', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1018:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_SlotPWFile */ 'k', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1019:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_SlotPW */ 'K', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1020:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_List */ 'l', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1021:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_Nickname */ 'n', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1022:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_Export */ 'o', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1023:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_Raw */ 'r', PR_FALSE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1024:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_P12FilePWFile */ 'w', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1025:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_P12FilePW */ 'W', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1026:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_DBPrefix */ 'P', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1027:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_Debug */ 'v', PR_FALSE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1028:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_Cipher */ 'c', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1029:7: warning: missing initializer for field 'longform' of 'secuCommandFlag' {aka 'struct '} [-Wmissing-field-initializers] { /* opt_CertCipher */ 'C', PR_TRUE, 0, PR_FALSE }, ^ In file included from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/secutil.h:18, from /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:20: /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/basicutil.h:102:11: note: 'longform' declared here char *longform; ^~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1030:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { /* opt_KeyLength */ 'm', PR_TRUE, 0, PR_FALSE, "key_len" }, ^~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1031:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { /* opt_CertKeyLength */ 0, PR_TRUE, 0, PR_FALSE, "cert_key_len" }, ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c: In function 'main': /builddir/build/BUILD/pki-10.11.2/base/tools/src/main/native/p12tool/p12tool.c:1044:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *dbprefix = ""; ^~ [ 84%] Linking C executable p12tool [ 84%] Built target p12tool [ 84%] Built target pki-DRMTool-link [ 85%] Compiling Java sources for pki-tomcat-classes src/main/java/com/netscape/cms/tomcat/ProxyRealm.java:194: warning: [deprecation] getRoles(Principal) in Realm has been deprecated public String[] getRoles(Principal principal) { ^ src/main/java/com/netscape/cms/tomcat/ProxyRealm.java:196: warning: [deprecation] getRoles(Principal) in Realm has been deprecated return realm.getRoles(principal); ^ 2 warnings [ 85%] Built target pki-tomcat-classes [ 86%] Packaging resources for pki-tomcat-jar [ 86%] Built target pki-tomcat-jar [ 86%] Built target pki-server-common-lib [ 86%] Built target pki-server-webapp-lib [ 87%] Packaging resources for pki-cmsbundle-jar [ 87%] Built target pki-cmsbundle-jar [ 89%] Compiling Java sources for pki-server-classes src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:47: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated import org.apache.commons.lang3.StringEscapeUtils; ^ src/main/java/com/netscape/cms/servlet/common/CMSTemplate.java:33: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated import org.apache.commons.lang3.StringEscapeUtils; ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCookie.java:31: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated import org.apache.commons.lang3.StringEscapeUtils; ^ src/main/java/com/netscape/cms/authentication/CMCAuth.java:930: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated pubK = PK11PubKey.fromRaw(keyType, ((X509Key) signKey).getKey()); ^ src/main/java/com/netscape/cms/authorization/AAclAuthz.java:861: warning: non-varargs call of varargs method with inexact argument type for last parameter; logger.error("AAclAuthz: " + CMS.getLogMessage("AUTHZ_AUTHZ_ACCESS_DENIED_2", params)); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning src/main/java/com/netscape/cmscore/security/JssSubsystem.java:167: warning: [deprecation] SSL3_RSA_WITH_RC4_128_MD5 in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_RC4_128_MD5, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:169: warning: [deprecation] SSL3_RSA_WITH_DES_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_DES_CBC_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:170: warning: [deprecation] SSL3_RSA_WITH_3DES_EDE_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_3DES_EDE_CBC_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:171: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:172: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA in SSLCipher has been deprecated SSLCipher.SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA, ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:195: warning: [deprecation] SSL3_RSA_WITH_NULL_MD5 in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_NULL_MD5)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:199: warning: [deprecation] SSL3_RSA_WITH_RC4_128_MD5 in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_RC4_128_MD5)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:203: warning: [deprecation] SSL3_RSA_WITH_DES_CBC_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_DES_CBC_SHA)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:205: warning: [deprecation] SSL3_RSA_WITH_3DES_EDE_CBC_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_3DES_EDE_CBC_SHA)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:207: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA)); ^ src/main/java/com/netscape/cmscore/security/JssSubsystem.java:209: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA)); ^ src/main/java/com/netscape/cms/servlet/base/CMSServlet.java:768: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated StringEscapeUtils.escapeHtml4(ex.toString()) + ^ src/main/java/com/netscape/cms/servlet/common/CMSTemplate.java:365: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated return StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(v)); ^ src/main/java/com/netscape/cms/servlet/common/CMSTemplate.java:365: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated return StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(v)); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCookie.java:123: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated "Unable to parse URL: " + StringEscapeUtils.escapeHtml4(url)); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCookie.java:146: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated header.addStringValue("url", StringEscapeUtils.escapeHtml4(url_e)); ^ src/main/java/com/netscape/cms/servlet/csadmin/GetCookie.java:209: warning: [deprecation] StringEscapeUtils in org.apache.commons.lang3 has been deprecated header.addStringValue("url", StringEscapeUtils.escapeHtml4(url)); ^ 22 warnings [ 89%] Built target pki-server-classes [ 90%] Packaging resources for pki-cms-jar [ 90%] Built target pki-cms-jar [ 91%] Compiling Java sources for pki-server-test-classes [ 91%] Built target pki-server-test-classes [ 91%] Built target pki-server-man [ 91%] Built target pki-server-lib [ 92%] Running JUnit test-pki-server TestRunner: Test PASSED TestRunner: See test reports in /builddir/build/BUILD/pki-10.11.2/build/base/server/reports [ 92%] Built target test-pki-server [ 93%] Building Python sources for pki-healthcheck running build running build_py creating build creating build/lib creating build/lib/pki creating build/lib/pki/server creating build/lib/pki/server/healthcheck creating build/lib/pki/server/healthcheck/core copying pki/server/healthcheck/core/main.py -> build/lib/pki/server/healthcheck/core copying pki/server/healthcheck/core/__init__.py -> build/lib/pki/server/healthcheck/core creating build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/connectivity.py -> build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/__init__.py -> build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/csconfig.py -> build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/plugin.py -> build/lib/pki/server/healthcheck/meta creating build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/trustflags.py -> build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/expiration.py -> build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/__init__.py -> build/lib/pki/server/healthcheck/certs copying pki/server/healthcheck/certs/plugin.py -> build/lib/pki/server/healthcheck/certs creating build/lib/pki/server/healthcheck/clones copying pki/server/healthcheck/clones/connectivity_and_data.py -> build/lib/pki/server/healthcheck/clones copying pki/server/healthcheck/clones/__init__.py -> build/lib/pki/server/healthcheck/clones copying pki/server/healthcheck/clones/plugin.py -> build/lib/pki/server/healthcheck/clones running install running build running build_py running install_lib creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6 creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/core copying build/lib/pki/server/healthcheck/core/main.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/core copying build/lib/pki/server/healthcheck/core/__init__.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/core creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/trustflags.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/expiration.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/__init__.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs copying build/lib/pki/server/healthcheck/certs/plugin.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/clones copying build/lib/pki/server/healthcheck/clones/connectivity_and_data.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/clones copying build/lib/pki/server/healthcheck/clones/__init__.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/clones copying build/lib/pki/server/healthcheck/clones/plugin.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/clones creating /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/connectivity.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/__init__.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/csconfig.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/plugin.py -> /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/core/main.py to main.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/core/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs/trustflags.py to trustflags.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs/expiration.py to expiration.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/certs/plugin.py to plugin.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/clones/connectivity_and_data.py to connectivity_and_data.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/clones/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/clones/plugin.py to plugin.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta/connectivity.py to connectivity.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta/csconfig.py to csconfig.cpython-36.pyc byte-compiling /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pki/server/healthcheck/meta/plugin.py to plugin.cpython-36.pyc running install_egg_info running egg_info creating pkihealthcheck.egg-info writing pkihealthcheck.egg-info/PKG-INFO writing dependency_links to pkihealthcheck.egg-info/dependency_links.txt writing entry points to pkihealthcheck.egg-info/entry_points.txt writing top-level names to pkihealthcheck.egg-info/top_level.txt writing manifest file 'pkihealthcheck.egg-info/SOURCES.txt' reading manifest file 'pkihealthcheck.egg-info/SOURCES.txt' writing manifest file 'pkihealthcheck.egg-info/SOURCES.txt' Copying pkihealthcheck.egg-info to /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/lib/python3.6/site-packages/pkihealthcheck-0.1-py3.6.egg-info running install_scripts Installing pki-healthcheck script to /builddir/build/BUILD/pki-10.11.2/build/base/server/healthcheck/install/usr/bin [ 93%] Built target pki-healthcheck [ 94%] Compiling Java sources for pki-ca-classes src/main/java/com/netscape/ca/CASigningUnit.java:57: warning: [deprecation] PROP_CA_CERT_NICKNAME in SigningUnit has been deprecated mConfig.putString(PROP_CA_CERT_NICKNAME, nickname); ^ src/main/java/com/netscape/ca/CASigningUnit.java:75: warning: [deprecation] PROP_CA_CERT_NICKNAME in SigningUnit has been deprecated mNickname = mConfig.getString(PROP_CA_CERT_NICKNAME); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:631: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated selfsign_pubK = PK11PubKey.fromRaw(keyType, pubKey.getKey()); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:722: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated selfsign_pubK = PK11PubKey.fromRaw(keyType, publicKeyData); ^ src/main/java/com/netscape/cms/authentication/CMCUserSignedAuth.java:1110: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated pubK = PK11PubKey.fromRaw(keyType, ((X509Key) signKey).getKey()); ^ src/main/java/com/netscape/cms/jobs/PublishCertsJob.java:186: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated unpublishedCerts = mRepository.findCertRecs(filter); ^ src/main/java/com/netscape/cms/jobs/RenewalNotificationJob.java:420: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated Enumeration en = mCertDB.findCertRecs(filter); ^ src/main/java/com/netscape/cms/jobs/UnpublishExpiredJob.java:189: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated expired = mRepository.findCertRecs(filter); ^ src/main/java/com/netscape/cms/servlet/cert/Monitor.java:291: warning: [deprecation] findCertRecs(String) in CertificateRepository has been deprecated Enumeration e = mCertDB.findCertRecs(filter); ^ Note: src/main/java/org/dogtagpki/server/ca/CAEngine.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 9 warnings [ 94%] Built target pki-ca-classes [ 95%] Packaging resources for pki-ca-jar [ 95%] Built target pki-ca-jar [ 95%] Built target pki-ca-links [ 96%] Compiling Java sources for pki-kra-classes src/main/java/com/netscape/kra/StorageKeyUnit.java:66: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated import com.netscape.certsrv.kra.IJoinShares; ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:67: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated import com.netscape.certsrv.kra.IShare; ^ src/main/java/com/netscape/cms/shares/OldJoinShares.java:23: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated import com.netscape.certsrv.kra.IJoinShares; ^ src/main/java/com/netscape/cms/shares/OldShare.java:23: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated import com.netscape.certsrv.kra.IShare; ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:703: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated IShare s = null; ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:707: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated s = (IShare) Class.forName(className).getDeclaredConstructor().newInstance(); ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:1058: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated IJoinShares j = null; ^ src/main/java/com/netscape/kra/StorageKeyUnit.java:1062: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated j = (IJoinShares) Class.forName(className).getDeclaredConstructor().newInstance(); ^ src/main/java/com/netscape/kra/RecoveryService.java:633: warning: [deprecation] fromString(String) in EncryptionAlgorithm has been deprecated EncryptionAlgorithm encAlg = EncryptionAlgorithm.fromString(nonLegacyAlg); ^ src/main/java/com/netscape/kra/SecurityDataProcessor.java:842: warning: [deprecation] getParameterClass() in Algorithm has been deprecated if (encAlg.getParameterClass().equals(IVParameterSpec.class)) { ^ src/main/java/com/netscape/kra/SecurityDataProcessor.java:844: warning: [deprecation] getParameterClass() in Algorithm has been deprecated } else if (encAlg.getParameterClass().equals( ^ 11 warnings [ 96%] Built target pki-kra-classes [ 97%] Packaging resources for pki-kra-jar [ 97%] Built target pki-kra-jar [ 97%] Built target pki-kra-links [ 98%] Compiling Java sources for pki-acme-classes Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ 98%] Built target pki-acme-classes [100%] Packaging resources for pki-acme-jar [100%] Built target pki-acme-jar [100%] Built target pki-acme-links + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I6cbkE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 ++ dirname /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 + cd pki-10.11.2 + cd build + /usr/bin/make VERBOSE= CMAKE_NO_VERBOSE=1 DESTDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 'INSTALL=install -p' --no-print-directory install Install the project... -- Install configuration: "" + ctest --output-on-failure Test project /builddir/build/BUILD/pki-10.11.2/build No tests were found!!! + ln -sf /usr/share/java/jboss-logging/jboss-logging.jar /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/pki/lib/jboss-logging.jar + ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/pki/lib/jboss-annotations-api_1.2_spec.jar + ln -sf /usr/share/java/jboss-jaxrs-2.0-api.jar /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/pki/server/common/lib/jboss-jaxrs-2.0-api.jar + ln -sf /usr/share/java/jboss-logging/jboss-logging.jar /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/pki/server/common/lib/jboss-logging.jar + ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/pki/server/common/lib/jboss-annotations-api_1.2_spec.jar + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 10.11.2-5.module+el8.5.0+348+5ea8f785 --unique-debug-suffix -10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 --unique-debug-src-base pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pki-10.11.2 extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/bin/p12tool extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/bin/p7tool extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/bin/pistool extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/bin/setpin extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/bin/revoker extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/bin/sslget extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/bin/tkstool extracting debug info from /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/lib64/symkey/libsymkey.so /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 2895 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/pki-healthcheck from /usr/bin/python3 to #!/usr/libexec/platform-python mangling shebang in /usr/bin/pki-server-nuxwdog from /usr/bin/env python3 to #!/usr/libexec/platform-python *** WARNING: ./usr/src/debug/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/base/tools/src/main/native/p12tool/p12tool.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/base/tools/src/main/native/p12tool/secutil.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/base/tools/src/main/native/p12tool/p12tool.h is executable but has no shebang, removing executable bit Processing files: pki-symkey-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oYW8aA + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-symkey + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-symkey + cp -pr base/symkey/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-symkey + exit 0 Provides: libsymkey.so()(64bit) pki-symkey = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-symkey(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libnspr4.so()(64bit) libnss3.so()(64bit) libnss3.so(NSS_3.10.2)(64bit) libnss3.so(NSS_3.12.3)(64bit) libnss3.so(NSS_3.2)(64bit) libnss3.so(NSS_3.4)(64bit) libnss3.so(NSS_3.6)(64bit) libnss3.so(NSS_3.9)(64bit) libnssutil3.so()(64bit) libplc4.so()(64bit) libplds4.so()(64bit) libsmime3.so()(64bit) libssl3.so()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Conflicts: pki-console-theme < 10.11.2 pki-javadoc < 10.11.2 pki-server-theme < 10.11.2 pki-symkey < 10.11.2 Processing files: pki-base-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AZgSMz + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base + cp -pr base/common/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base + cp -pr base/common/LICENSE.LESSER /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base + exit 0 Provides: config(pki-base) = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-base = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh python3-pki = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(postun): /bin/sh Requires: /bin/sh Conflicts: pki-console-theme < 10.11.2 pki-javadoc < 10.11.2 pki-server-theme < 10.11.2 pki-symkey < 10.11.2 Processing files: python3-pki-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EatXmE + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/python3-pki + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/python3-pki + cp -pr base/common/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/python3-pki + cp -pr base/common/LICENSE.LESSER /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/python3-pki + exit 0 Provides: pki-base-python3 = 10.11.2-5.module+el8.5.0+348+5ea8f785 python3-pki = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Obsoletes: pki-base-python3 < 10.11.2 Recommends: python3-nss Processing files: pki-base-java-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uwrZCD + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base-java + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base-java + cp -pr base/common/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base-java + cp -pr base/common/LICENSE.LESSER /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-base-java + exit 0 Provides: pki-base-java = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pki-tools-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s9zSjC + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + DOCDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/doc/pki-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/doc/pki-tools + cp -pr base/tools/doc/README /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/doc/pki-tools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9UO0mD + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-tools + cp -pr base/tools/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-tools + exit 0 Provides: pki-tools = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-tools(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libnspr4.so()(64bit) libnss3.so()(64bit) libnss3.so(NSS_3.10)(64bit) libnss3.so(NSS_3.10.2)(64bit) libnss3.so(NSS_3.12)(64bit) libnss3.so(NSS_3.13)(64bit) libnss3.so(NSS_3.2)(64bit) libnss3.so(NSS_3.21)(64bit) libnss3.so(NSS_3.3)(64bit) libnss3.so(NSS_3.30)(64bit) libnss3.so(NSS_3.33)(64bit) libnss3.so(NSS_3.4)(64bit) libnss3.so(NSS_3.5)(64bit) libnss3.so(NSS_3.6)(64bit) libnss3.so(NSS_3.7)(64bit) libnss3.so(NSS_3.8)(64bit) libnss3.so(NSS_3.9)(64bit) libnss3.so(NSS_3.9.2)(64bit) libnssutil3.so()(64bit) libnssutil3.so(NSSUTIL_3.15)(64bit) libplc4.so()(64bit) libplds4.so()(64bit) libsmime3.so()(64bit) libsmime3.so(NSS_3.10)(64bit) libsmime3.so(NSS_3.2)(64bit) libsmime3.so(NSS_3.4)(64bit) libsoftokn3.so()(64bit) libssl3.so()(64bit) libssl3.so(NSS_3.12.6)(64bit) libssl3.so(NSS_3.14)(64bit) libssl3.so(NSS_3.2)(64bit) libssl3.so(NSS_3.4)(64bit) rtld(GNU_HASH) Processing files: pki-server-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3vuEmE + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + DOCDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/doc/pki-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/doc/pki-server + cp -pr base/server/README /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/doc/pki-server + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.547veD + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-server + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-server + cp -pr base/common/THIRD_PARTY_LICENSES /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-server + cp -pr base/server/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-server + exit 0 Provides: bundled(js-backbone) = 1.4.0 bundled(js-bootstrap) = 3.4.1 bundled(js-jquery) = 3.5.1 bundled(js-jquery-i18n-properties) = 1.2.7 bundled(js-patternfly) = 3.59.2 bundled(js-underscore) = 1.9.2 config(pki-server) = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-server = 10.11.2-5.module+el8.5.0+348+5ea8f785 python3.6dist(pkihealthcheck) = 0.1 python3dist(pkihealthcheck) = 0.1 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd-units Requires(preun): systemd-units Requires(postun): systemd-units Requires: /bin/bash /bin/sh /usr/libexec/platform-python python(abi) = 3.6 Conflicts: ipa-server < 4.7.1 Processing files: pki-acme-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch Provides: pki-acme = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: pki-ca-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.90adZC + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-ca + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-ca + cp -pr base/ca/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-ca + exit 0 Provides: pki-ca = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units Processing files: pki-kra-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZDtVUD + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-kra + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-kra + cp -pr base/kra/LICENSE /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64/usr/share/licenses/pki-kra + exit 0 Provides: pki-kra = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units Processing files: pki-core-debugsource-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 Provides: pki-core-debugsource = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-core-debugsource(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pki-core-debuginfo-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 Provides: pki-core-debuginfo = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-core-debuginfo(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pki-core-debugsource(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Processing files: pki-symkey-debuginfo-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 Provides: debuginfo(build-id) = a55eb9cbc7204d8a28bd4d4f1ccf8b38cc28ee68 pki-symkey-debuginfo = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-symkey-debuginfo(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pki-core-debugsource(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Processing files: pki-tools-debuginfo-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 Provides: debuginfo(build-id) = 01f584ab65f5214ebe500b372e7bc4d53effdccd debuginfo(build-id) = 03f0a5a998bf1eb9cfa30fe62a3f7e4d8d032ed8 debuginfo(build-id) = 04b478929106f928df6486d47f611d5032a23cb3 debuginfo(build-id) = 0b456c86eb5596ab61ad232d48379180aa131a91 debuginfo(build-id) = 6ae3d05fb49885a63292a6bf1eca2ba735a65e71 debuginfo(build-id) = 831d7bfe13278449f38a59386ea05129ee5149b5 debuginfo(build-id) = ea2ab7af3dc89cdb6dc36f46b3b3f9f531eb7d39 pki-tools-debuginfo = 10.11.2-5.module+el8.5.0+348+5ea8f785 pki-tools-debuginfo(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pki-core-debugsource(x86-64) = 10.11.2-5.module+el8.5.0+348+5ea8f785 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 warning: Installed (but unpackaged) file(s) found: /usr/share/pki/tests/bin/ds-artifacts-save.sh /usr/share/pki/tests/bin/ds-create.sh /usr/share/pki/tests/bin/ds-remove.sh /usr/share/pki/tests/bin/init-workflow.sh /usr/share/pki/tests/bin/ipa-artifacts-save.sh /usr/share/pki/tests/bin/ipa-test.sh /usr/share/pki/tests/bin/pki-artifacts-save.sh /usr/share/pki/tests/bin/pki-lint /usr/share/pki/tests/bin/runner-init.sh /usr/share/pki/tests/ca/bin/ca-agent-cert-create.sh /usr/share/pki/tests/ca/bin/ca-agent-cert-revoke.sh /usr/share/pki/tests/ca/bin/ca-agent-cert-unrevoke.sh /usr/share/pki/tests/ca/bin/ca-agent-create.sh /usr/share/pki/tests/pylintrc /usr/share/pki/tests/python/performance/test_acme_cert_enrollment.py /usr/share/pki/tests/python/performance/test_cert_enrollment.py /usr/share/pki/tests/python/performance/test_cert_revocation.py /usr/share/pki/tests/tests.yml /usr/share/pki/tests/tox.ini Wrote: /builddir/build/RPMS/pki-symkey-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64.rpm Wrote: /builddir/build/RPMS/pki-base-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch.rpm Wrote: /builddir/build/RPMS/python3-pki-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch.rpm Wrote: /builddir/build/RPMS/pki-base-java-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch.rpm Wrote: /builddir/build/RPMS/pki-tools-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64.rpm Wrote: /builddir/build/RPMS/pki-server-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch.rpm Wrote: /builddir/build/RPMS/pki-acme-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch.rpm Wrote: /builddir/build/RPMS/pki-ca-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch.rpm Wrote: /builddir/build/RPMS/pki-kra-10.11.2-5.module+el8.5.0+348+5ea8f785.noarch.rpm Wrote: /builddir/build/RPMS/pki-core-debugsource-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64.rpm Wrote: /builddir/build/RPMS/pki-core-debuginfo-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64.rpm Wrote: /builddir/build/RPMS/pki-symkey-debuginfo-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64.rpm Wrote: /builddir/build/RPMS/pki-tools-debuginfo-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dwHWnB + umask 022 + cd /builddir/build/BUILD + cd pki-10.11.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pki-core-10.11.2-5.module+el8.5.0+348+5ea8f785.x86_64 + exit 0 Child return code was: 0