Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pki-core.spec'], chrootPath='/var/lib/mock/f33-build-210136-48389/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1587945600 Wrote: /builddir/build/SRPMS/pki-core-10.8.3-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pki-core.spec'], chrootPath='/var/lib/mock/f33-build-210136-48389/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1587945600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NlzJcd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pki-10.8.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/pki-10.8.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pki-10.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'pki-core-10.8.3 base' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + /usr/bin/cat /builddir/build/SOURCES/0001-Patch-ECAdminCertProfile-upgrade-script.patch + /usr/bin/git apply --index --reject -p1 - Checking patch base/server/upgrade/10.8.2/01-FixECAdminCertProfile.py... Checking patch base/server/upgrade/10.8.3/01-FixECAdminCertProfile.py... Applied patch base/server/upgrade/10.8.2/01-FixECAdminCertProfile.py cleanly. Applied patch base/server/upgrade/10.8.3/01-FixECAdminCertProfile.py cleanly. + /usr/bin/git commit -q -m 0001-Patch-ECAdminCertProfile-upgrade-script.patch --author 'rpm-build ' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RAOU3e + umask 022 + cd /builddir/build/BUILD + cd pki-10.8.3 ++ sed -n 's/Server number: *\([0-9]\+\.[0-9]\+\).*/\1/p' ++ /usr/sbin/tomcat version + tomcat_version=9.0 + '[' 9.0 == 9.0 ']' + app_server=tomcat-8.5 + /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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /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.8.3-2.fc33 -DVAR_INSTALL_DIR:PATH=/var -DP11_KIT_TRUST=/etc/alternatives/libnssckbi.so.riscv64 -DJAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk -DJAVA_LIB_INSTALL_DIR=/usr/lib/java -DSYSTEMD_LIB_INSTALL_DIR=/usr/lib/systemd/system -DAPP_SERVER=tomcat-8.5 -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/bin/python3 -DWITH_TEST:BOOL=ON -DWITH_JAVADOC:BOOL=ON -DBUILD_PKI_CONSOLE:BOOL=ON -DTHEME= .. Not searching for unused variables given on the command line. -- The C compiler identification is GNU 10.0.1 -- The CXX compiler identification is GNU 10.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- 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.6.3") -- Checking for module 'nspr' -- Found nspr, version 4.25.0 -- Found NSPR: /usr/lib64/libplds4.so;/usr/lib64/libplc4.so;/usr/lib64/libnspr4.so -- Checking for module 'nss' -- Found nss, version 3.51.1 -- 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_212") -- Found JNI: /usr/lib/jvm/jre-1.8.0-openjdk/lib/riscv64/libjawt.so -- Found Ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so -- Checking for module 'apr-1' -- Found apr-1, version 1.7.0 -- 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/bin/python3 (found version "3.8.3") -- Building pki.server for 3.8.3 -- PYTHON3_SITE_PACKAGES /usr/lib/python3.8/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 -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Found Sphinx: /usr/bin/sphinx-build -- Java_VERSION_STRING = '1.8.0_212' -- Javac_VERSION_OUTPUT = 'javac 1.8.0_212' -- Javadoc_VERSION_MAJOR = '1' -- Javadoc_VERSION_MINOR = '8' -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/pki-10.8.3/build + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hF83He + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64 + cd pki-10.8.3 + cd build + /usr/bin/make VERBOSE= CMAKE_NO_VERBOSE=1 DESTDIR=/builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64 'INSTALL=install -p' --no-print-directory all install Scanning dependencies of target pki-test-classes [ 0%] Built target pki-test-classes Scanning dependencies of target symkey-classes [ 0%] Built target symkey-classes Scanning dependencies of target symkey-jar [ 1%] Packaging resources for symkey-jar [ 1%] Built target symkey-jar [ 1%] Generating SessionKey.h Scanning dependencies of target symkey_library [ 2%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/Buffer.cpp.o [ 3%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/EncryptData.cpp.o [ 3%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/SessionKey.cpp.o In file included from /usr/include/string.h:495, from /usr/include/nss3/secport.h:45, from /usr/include/nss3/seccomon.h:27, from /usr/include/nss3/pk11pub.h:7, from /usr/include/nss3/pk11func.h:12, from /builddir/build/BUILD/pki-10.8.3/base/symkey/src/com/netscape/symkey/SessionKey.cpp:23: In function 'char* strncpy(char*, const char*, size_t)', inlined from '_jbyteArray* Java_com_netscape_symkey_SessionKey_ComputeSessionKeySCP02(JNIEnv*, jclass, jstring, jstring, jbyteArray, jbyte, jboolean, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jstring, jstring, jstring)' at /builddir/build/BUILD/pki-10.8.3/base/symkey/src/com/netscape/symkey/SessionKey.cpp:842:16: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from '_jbyteArray* Java_com_netscape_symkey_SessionKey_ComputeSessionKey(JNIEnv*, jclass, jstring, jstring, jbyteArray, jbyteArray, jbyteArray, jbyte, jboolean, jbyteArray, jbyteArray, jbyteArray, jstring, jstring, jstring)' at /builddir/build/BUILD/pki-10.8.3/base/symkey/src/com/netscape/symkey/SessionKey.cpp:1302:16: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from '_jbyteArray* Java_com_netscape_symkey_SessionKey_ComputeEncSessionKey(JNIEnv*, jclass, jstring, jstring, jbyteArray, jbyteArray, jbyteArray, jbyte, jboolean, jbyteArray, jbyteArray, jbyteArray, jstring, jstring)' at /builddir/build/BUILD/pki-10.8.3/base/symkey/src/com/netscape/symkey/SessionKey.cpp:1703:16: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/SymKey.cpp.o In file included from /usr/include/string.h:495, from /builddir/build/BUILD/pki-10.8.3/base/symkey/src/com/netscape/symkey/SymKey.cpp:25: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'char* GetSharedSecretKeyName(char*)' at /builddir/build/BUILD/pki-10.8.3/base/symkey/src/com/netscape/symkey/SymKey.cpp:1081:19, inlined from 'char* GetSharedSecretKeyName(char*)' at /builddir/build/BUILD/pki-10.8.3/base/symkey/src/com/netscape/symkey/SymKey.cpp:1078:7: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 135 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4%] Building CXX object base/symkey/src/com/netscape/symkey/CMakeFiles/symkey_library.dir/NistSP800_108KDF.cpp.o [ 5%] Linking CXX shared library libsymkey.so [ 5%] Built target symkey_library Scanning dependencies of target pki-nsutil-classes [ 5%] Compiling Java sources for pki-nsutil-classes [ 5%] Built target pki-nsutil-classes Scanning dependencies of target pki-nsutil-jar [ 6%] Packaging resources for pki-nsutil-jar [ 6%] Built target pki-nsutil-jar Scanning dependencies of target pki-cmsutil-classes [ 7%] Compiling Java sources for pki-cmsutil-classes [ 7%] Built target pki-cmsutil-classes Scanning dependencies of target pki-cmsutil-jar [ 7%] Packaging resources for pki-cmsutil-jar [ 7%] Built target pki-cmsutil-jar Scanning dependencies of target pki-util-test-classes [ 8%] Compiling Java sources for pki-util-test-classes [ 8%] Built target pki-util-test-classes Scanning dependencies of target test-pki-util [ 9%] Running JUnit test-pki-util TestRunner: Test PASSED TestRunner: See test reports in /builddir/build/BUILD/pki-10.8.3/build/base/util/test/reports [ 9%] Built target test-pki-util Scanning dependencies of target pki-man [ 9%] Built target pki-man Scanning dependencies of target pki-lib [ 9%] Built target pki-lib Scanning dependencies of target pki-certsrv-classes [ 10%] Compiling Java sources for pki-certsrv-classes com/netscape/certsrv/account/AccountResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/client/PKIConnection.java:56: warning: [deprecation] AuthPNames in org.apache.http.auth.params has been deprecated import org.apache.http.auth.params.AuthPNames; ^ com/netscape/certsrv/client/PKIConnection.java:58: warning: [deprecation] AuthPolicy in org.apache.http.client.params has been deprecated import org.apache.http.client.params.AuthPolicy; ^ com/netscape/certsrv/client/PKIConnection.java:59: warning: [deprecation] HttpClientParams in org.apache.http.client.params has been deprecated import org.apache.http.client.params.HttpClientParams; ^ com/netscape/certsrv/client/PKIConnection.java:60: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated import org.apache.http.conn.scheme.Scheme; ^ com/netscape/certsrv/client/PKIConnection.java:61: warning: [deprecation] SchemeLayeredSocketFactory in org.apache.http.conn.scheme has been deprecated import org.apache.http.conn.scheme.SchemeLayeredSocketFactory; ^ com/netscape/certsrv/client/PKIConnection.java:62: warning: [deprecation] SchemeSocketFactory in org.apache.http.conn.scheme has been deprecated import org.apache.http.conn.scheme.SchemeSocketFactory; ^ com/netscape/certsrv/client/PKIConnection.java:64: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.ClientParamsStack; ^ com/netscape/certsrv/client/PKIConnection.java:65: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.DefaultHttpClient; ^ com/netscape/certsrv/client/PKIConnection.java:68: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.EntityEnclosingRequestWrapper; ^ com/netscape/certsrv/client/PKIConnection.java:69: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated import org.apache.http.impl.client.RequestWrapper; ^ com/netscape/certsrv/client/PKIConnection.java:71: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated import org.apache.http.params.HttpParams; ^ org/dogtagpki/common/InfoResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/authority/AuthorityResource.java:13: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/cert/CertResource.java:10: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/cert/CertRequestResource.java:27: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/group/GroupResource.java:29: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/key/KeyResource.java:13: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/key/KeyRequestResource.java:13: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ org/dogtagpki/common/KRAInfoResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/logging/ActivityResource.java:26: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/logging/AuditResource.java:30: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/profile/ProfileResource.java:12: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/selftests/SelfTestResource.java:27: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/system/FeatureResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/system/KRAConnectorResource.java:26: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/system/SecurityDomainResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/system/TPSConnectorResource.java:29: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/tps/authenticator/AuthenticatorResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/tps/cert/TPSCertResource.java:26: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/tps/config/ConfigResource.java:24: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/tps/connector/ConnectorResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/tps/profile/ProfileResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/tps/profile/ProfileMappingResource.java:28: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/tps/token/TokenResource.java:29: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/user/UserResource.java:30: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ org/dogtagpki/ca/CASystemCertResource.java:7: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ org/dogtagpki/cli/CLI.java:31: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated import org.apache.commons.cli.PosixParser; ^ org/dogtagpki/common/CAInfoResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ org/dogtagpki/common/LoginResource.java:25: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ org/dogtagpki/kra/KRASystemCertResource.java:7: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated import org.jboss.resteasy.annotations.ClientResponseType; ^ com/netscape/certsrv/account/AccountResource.java:39: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=AccountInfo.class) ^ com/netscape/certsrv/account/AccountResource.java:45: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/client/PKIConnection.java:96: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated DefaultHttpClient httpClient = new DefaultHttpClient(); ^ com/netscape/certsrv/client/PKIConnection.java:96: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated DefaultHttpClient httpClient = new DefaultHttpClient(); ^ com/netscape/certsrv/client/PKIConnection.java:112: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); ^ com/netscape/certsrv/client/PKIConnection.java:112: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated Scheme scheme = new Scheme("https", 443, new JSSProtocolSocketFactory()); ^ com/netscape/certsrv/client/PKIConnection.java:120: warning: [deprecation] AuthPolicy in org.apache.http.client.params has been deprecated authPref.add(AuthPolicy.BASIC); ^ com/netscape/certsrv/client/PKIConnection.java:121: warning: [deprecation] AuthPNames in org.apache.http.auth.params has been deprecated httpClient.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF, authPref); ^ com/netscape/certsrv/client/PKIConnection.java:152: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated HttpParams params = request.getParams(); ^ com/netscape/certsrv/client/PKIConnection.java:152: warning: [deprecation] getParams() in HttpMessage has been deprecated HttpParams params = request.getParams(); ^ com/netscape/certsrv/client/PKIConnection.java:153: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated if (params instanceof ClientParamsStack) { ^ com/netscape/certsrv/client/PKIConnection.java:154: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ com/netscape/certsrv/client/PKIConnection.java:154: warning: [deprecation] ClientParamsStack in org.apache.http.impl.client has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ com/netscape/certsrv/client/PKIConnection.java:154: warning: [deprecation] getParams() in HttpMessage has been deprecated ClientParamsStack paramsStack = (ClientParamsStack)request.getParams(); ^ com/netscape/certsrv/client/PKIConnection.java:157: warning: [deprecation] HttpClientParams in org.apache.http.client.params has been deprecated HttpClientParams.setRedirecting(params, true); ^ com/netscape/certsrv/client/PKIConnection.java:190: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated RequestWrapper wrapper; ^ com/netscape/certsrv/client/PKIConnection.java:192: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated wrapper = new EntityEnclosingRequestWrapper((HttpEntityEnclosingRequest)request); ^ com/netscape/certsrv/client/PKIConnection.java:194: warning: [deprecation] RequestWrapper in org.apache.http.impl.client has been deprecated wrapper = new RequestWrapper(request); ^ com/netscape/certsrv/client/PKIConnection.java:233: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated if (request instanceof EntityEnclosingRequestWrapper) { ^ com/netscape/certsrv/client/PKIConnection.java:234: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; ^ com/netscape/certsrv/client/PKIConnection.java:234: warning: [deprecation] EntityEnclosingRequestWrapper in org.apache.http.impl.client has been deprecated EntityEnclosingRequestWrapper wrapper = (EntityEnclosingRequestWrapper) request; ^ com/netscape/certsrv/client/PKIConnection.java:291: warning: [deprecation] SchemeSocketFactory in org.apache.http.conn.scheme has been deprecated private class JSSProtocolSocketFactory implements SchemeSocketFactory, SchemeLayeredSocketFactory { ^ com/netscape/certsrv/client/PKIConnection.java:291: warning: [deprecation] SchemeLayeredSocketFactory in org.apache.http.conn.scheme has been deprecated private class JSSProtocolSocketFactory implements SchemeSocketFactory, SchemeLayeredSocketFactory { ^ com/netscape/certsrv/client/PKIConnection.java:294: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated public Socket createSocket(HttpParams params) throws IOException { ^ com/netscape/certsrv/client/PKIConnection.java:302: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated HttpParams params) ^ com/netscape/certsrv/client/PKIConnection.java:398: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated public Socket createLayeredSocket(Socket socket, String target, int port, HttpParams params) ^ org/dogtagpki/common/InfoResource.java:34: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Info.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:37: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=AuthorityData.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:43: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=byte[].class) ^ com/netscape/certsrv/authority/AuthorityResource.java:49: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=String.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:55: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=byte[].class) ^ com/netscape/certsrv/authority/AuthorityResource.java:61: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=String.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:65: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=AuthorityData.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:82: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=AuthorityData.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:91: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=AuthorityData.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:98: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=AuthorityData.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:105: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=AuthorityData.class) ^ com/netscape/certsrv/authority/AuthorityResource.java:112: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/cert/CertResource.java:21: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertDataInfos.class) ^ com/netscape/certsrv/cert/CertResource.java:31: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertDataInfos.class) ^ com/netscape/certsrv/cert/CertResource.java:39: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertData.class) ^ com/netscape/certsrv/cert/CertResource.java:44: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertData.class) ^ com/netscape/certsrv/cert/CertResource.java:51: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertRequestInfo.class) ^ com/netscape/certsrv/cert/CertResource.java:58: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertRequestInfo.class) ^ com/netscape/certsrv/cert/CertResource.java:65: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertRequestInfo.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:39: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertRequestInfos.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:50: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertRequestInfo.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:58: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertRequestInfos.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:70: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertReviewResponse.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:77: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=ProfileDataInfos.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:84: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=CertEnrollmentRequest.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:89: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:96: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:103: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:110: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:117: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:124: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/cert/CertRequestResource.java:131: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=Void.class) ^ com/netscape/certsrv/group/GroupResource.java:44: warning: [deprecation] ClientResponseType in org.jboss.resteasy.annotations has been deprecated @ClientResponseType(entityType=GroupCollection.class) ^ Note: Some input files additionally use or override a deprecated API. Note: com/netscape/certsrv/base/ResourceMessage.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 warnings [ 10%] Built target pki-certsrv-classes Scanning dependencies of target pki-certsrv-jar [ 10%] Packaging resources for pki-certsrv-jar [ 10%] Built target pki-certsrv-jar Scanning dependencies of target pki-examples-classes [ 11%] Compiling Java sources for pki-examples-classes [ 11%] Built target pki-examples-classes Scanning dependencies of target dogtag_python_client_man_docs [ 12%] Building Python Client Library manual pages Running Sphinx v2.2.2 making output directory... done building [mo]: all of 0 po files building [man]: all source files updating environment: [new config] 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 } done build succeeded. The manual pages are in ../../../build/base/common/python/man. /usr/lib/python3.8/site-packages/sphinx/util/nodes.py:151: FutureWarning: The iterable returned by Node.traverse() will become an iterator instead of a list in Docutils > 0.16. for classifier in reversed(node.parent.traverse(nodes.classifier)): [ 12%] Built target dogtag_python_client_man_docs Scanning dependencies of target dogtag_python_client_docs [ 12%] Building Python Client Library HTML documentation Running Sphinx v2.2.2 making output directory... done building [mo]: all of 0 po files building [html]: all source files updating environment: [new config] 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-modindexdone 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... searchdone 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. /usr/lib/python3.8/site-packages/sphinx/util/nodes.py:151: FutureWarning: The iterable returned by Node.traverse() will become an iterator instead of a list in Docutils > 0.16. for classifier in reversed(node.parent.traverse(nodes.classifier)): [ 12%] Built target dogtag_python_client_docs Scanning dependencies of target p7tool [ 12%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/secerror.c.o [ 13%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/secpwd.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secpwd.c:69:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | #define QUIET_FGETS fgets | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); | ^~~~~~~~~~~ [ 13%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/secutil.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:119:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 119 | vfprintf(out, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:138:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 138 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:154:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 154 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:173:30: warning: unused parameter 'arg' [-Wunused-parameter] 173 | SECU_GetPasswordString(void *arg, char *prompt) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:223:31: warning: unused parameter 'slot' [-Wunused-parameter] 223 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:378:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 378 | SECStatus rv; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:507:47: warning: unused parameter 'fd' [-Wunused-parameter] 507 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:508:35: warning: unused parameter 'caNames' [-Wunused-parameter] 508 | struct CERTDistNamesStr *caNames, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:1517:56: warning: unused parameter 'arena' [-Wunused-parameter] 1517 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:1692:57: warning: unused parameter 'msg' [-Wunused-parameter] 1692 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:1806:63: warning: unused parameter 'msg' [-Wunused-parameter] 1806 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:1874:64: warning: unused parameter 'msg' [-Wunused-parameter] 1874 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:1933:75: warning: unused parameter 'msg' [-Wunused-parameter] 1933 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:1959:63: warning: unused parameter 'msg' [-Wunused-parameter] 1959 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:2153:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2153 | if (flags & CERTDB_VALID_PEER) | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:2265:69: warning: unused parameter 'm' [-Wunused-parameter] 2265 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) | ~~~~~~~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:2953:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2953 | if ( flags & CERTDB_VALID_PEER ) { | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3029:52: warning: unused parameter 'progName' [-Wunused-parameter] 3029 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3291:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3291 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3307 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3391:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3391 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3605:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] 3605 | CERTAuthKeyID* authorityKeyID, PRTime validTime) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3292:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3292 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3306:6: note: here 3306 | case SEC_ERROR_INADEQUATE_CERT_TYPE: | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3308:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3308 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/secutil.c:3332:6: note: here 3332 | case SEC_ERROR_UNKNOWN_ISSUER: | ^~~~ [ 14%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/pppolicy.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/pppolicy.c:184:43: warning: unused parameter 'msg' [-Wunused-parameter] 184 | const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/pppolicy.c:239:73: warning: unused parameter 'msg' [-Wunused-parameter] 239 | secu_PrintPolicyInfo(FILE *out, CERTPolicyInfo *policyInfo, const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/pppolicy.c:227:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 227 | if (SECSuccess == rv) | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/pppolicy.c:230:4: note: here 230 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: | ^~~~ [ 14%] Building C object base/native-tools/src/p7tool/CMakeFiles/p7tool.dir/p7tool.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c: In function 'decryption_allowed': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:128:36: warning: unused parameter 'algid' [-Wunused-parameter] 128 | decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) | ~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:128:55: warning: unused parameter 'key' [-Wunused-parameter] 128 | decryption_allowed(SECAlgorithmID *algid, PK11SymKey *key) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:134:1: warning: no previous prototype for 'DecodeAndPrintFile' [-Wmissing-prototypes] 134 | DecodeAndPrintFile(FILE *out, PRFileDesc *in, char *progName, int ascii, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c: In function 'DecodeAndPrintFile': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:234:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 234 | SECItem **items = NULL; | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:251:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 251 | int i= 0; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:255:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 255 | prefix = "chaincert"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:259:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 259 | FILE *outFile; | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:261:17: warning: variable 'nb' set but not used [-Wunused-but-set-variable] 261 | int nb = 0; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c: In function 'main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/p7tool/p7tool.c:341:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 341 | prefix = optstate->value; | ^ [ 15%] Linking C executable p7tool [ 15%] Built target p7tool Scanning dependencies of target revoker [ 15%] Building C object base/native-tools/src/revoker/CMakeFiles/revoker.dir/revoker.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:125:8: warning: no previous prototype for 'ownPasswd' [-Wmissing-prototypes] 125 | char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'ownPasswd': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:125:33: warning: unused parameter 'slot' [-Wunused-parameter] 125 | char * ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'myBadCertHandler': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:199:25: warning: unused parameter 'arg' [-Wunused-parameter] 199 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:199:42: warning: unused parameter 'fd' [-Wunused-parameter] 199 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:209:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] 209 | my_GetClientAuthData(void * arg, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'my_GetClientAuthData': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:227:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 227 | FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:230:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:277:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] 277 | printSecurityInfo(PRFileDesc *fd) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:321:1: warning: no previous prototype for 'do_writes' [-Wmissing-prototypes] 321 | do_writes( | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:357:1: warning: no previous prototype for 'do_io' [-Wmissing-prototypes] 357 | do_io( PRFileDesc *ssl_sock, int connection) | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:425:1: warning: no previous prototype for 'do_connect' [-Wmissing-prototypes] 425 | do_connect( | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'do_connect': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:433:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] 433 | SECStatus result; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:496:1: warning: no previous prototype for 'getIPAddress' [-Wmissing-prototypes] 496 | getIPAddress(const char * hostName) | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:518:1: warning: no previous prototype for 'client_main' [-Wmissing-prototypes] 518 | client_main( | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'client_main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:544:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 544 | PRAddrInfo *ai; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:520:25: warning: unused parameter 'connections' [-Wunused-parameter] 520 | int connections, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:521:25: warning: unused parameter 'privKey' [-Wunused-parameter] 521 | SECKEYPrivateKey ** privKey, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:522:25: warning: unused parameter 'cert' [-Wunused-parameter] 522 | CERTCertificate ** cert, | ~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:615:1: warning: no previous prototype for 'createRequest' [-Wmissing-prototypes] 615 | createRequest(char * serials, char *reason, char *invalidity, int take_off_hold) | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'createRequest': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:667:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 667 | old = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:677:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 677 | iDate = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:716:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 716 | char * dir = "."; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:828:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 828 | revocation_reason = "0"; | ^ At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:311:19: warning: 'outHeader' defined but not used [-Wunused-const-variable=] 311 | static const char outHeader[] = { | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c: In function 'main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/revoker/revoker.c:883:9: warning: 'fp' may be used uninitialized in this function [-Wmaybe-uninitialized] 883 | fclose(fp); | ^~~~~~~~~~ [ 16%] Building C object base/native-tools/src/revoker/CMakeFiles/revoker.dir/getopt.c.o [ 16%] Linking C executable revoker [ 16%] Built target revoker Scanning dependencies of target setpin [ 17%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/b64.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/b64.c: In function 'ldif_base64_encode_internal': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/b64.c:38:21: warning: variable 'len' set but not used [-Wunused-but-set-variable] 38 | int i, pad, len; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/b64.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/b64.c:98:1: warning: no previous prototype for 'ldif_base64_encode' [-Wmissing-prototypes] 98 | ldif_base64_encode( unsigned char *src, char *dst, int srclen, int lenused ) | ^~~~~~~~~~~~~~~~~~ [ 17%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/options.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/options.c: In function 'OPT_parseArgument': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/options.c:104:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | return OPT_parseOptFile(&arg[8],validlist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 18%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/setpin.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:138:8: warning: no previous prototype for 'trim_strdup' [-Wmissing-prototypes] 138 | char * trim_strdup(char *s) | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:147:6: warning: no previous prototype for 'readInputFile' [-Wmissing-prototypes] 147 | void readInputFile() { | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:359:6: warning: no previous prototype for 'do_setup' [-Wmissing-prototypes] 359 | void do_setup() { | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c: In function 'do_setup': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:384:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 384 | x.mod_type = "attributetypes"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:408:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 408 | x.mod_type = "objectclasses"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:439:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 439 | a1_values[0] = "pinmanager"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:442:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 442 | a1.mod_type = "sn"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:445:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 445 | a2_values[0] = "pinmanager"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:448:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | a2.mod_type = "cn"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:454:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 454 | a3.mod_type = "userPassword"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:457:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 457 | a4_values[0] = "person"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:460:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | a4.mod_type = "objectclass"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:507:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 507 | x.mod_type = "aci"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c: In function 'sha256_pw_enc': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:545:38: warning: pointer targets in passing argument 3 of 'PK11_HashBuf' differ in signedness [-Wpointer-sign] 545 | PK11_HashBuf(SEC_OID_SHA256,hash,pwd,strlen(pwd)); | ^~~ | | | char * /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:70:52: note: expected 'const unsigned char *' but argument is of type 'char *' 70 | const unsigned char *in, | ~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:558:5: warning: no previous prototype for 'isstring' [-Wmissing-prototypes] 558 | int isstring(char *s) { | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:570:6: warning: no previous prototype for 'doLDAPBind' [-Wmissing-prototypes] 570 | void doLDAPBind() { | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c: In function 'doLDAPBind': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:610:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 610 | struct berval credential; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:646:6: warning: no previous prototype for 'doLDAPUnbind' [-Wmissing-prototypes] 646 | void doLDAPUnbind(){ | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c: In function 'processSearchResults': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:733:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 733 | bin = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:809:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 809 | objectclass.mod_type = "objectclass"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:960:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 960 | fprintf(stderr,"o_write = %0x\n",(unsigned int)o_write); | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:664:9: warning: variable 'change' set but not used [-Wunused-but-set-variable] 664 | int change=0; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:1016:6: warning: no previous prototype for 'buildCharpool' [-Wmissing-prototypes] 1016 | void buildCharpool() { | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:1057:6: warning: no previous prototype for 'initrandom' [-Wmissing-prototypes] 1057 | void initrandom() { | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:1078:16: warning: no previous prototype for 'getRandomShort' [-Wmissing-prototypes] 1078 | unsigned short getRandomShort() { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:1120:16: warning: no previous prototype for 'getRandomInRange' [-Wmissing-prototypes] 1120 | unsigned short getRandomInRange(unsigned short max) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:1139:8: warning: no previous prototype for 'newPassword' [-Wmissing-prototypes] 1139 | char * newPassword() { | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin.c:1172:6: warning: no previous prototype for 'testpingen' [-Wmissing-prototypes] 1172 | void testpingen() { | ^~~~~~~~~~ [ 18%] Building C object base/native-tools/src/setpin/CMakeFiles/setpin.dir/setpin_options.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:82:6: warning: no previous prototype for 'setDefaultOptions' [-Wmissing-prototypes] 82 | void setDefaultOptions() { | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c: In function 'setDefaultOptions': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:83:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | o_certdb= "."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:96:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | o_gen= "RNG-alphanum"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:98:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | o_attribute="pin"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:99:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | o_hash= "sha256"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:100:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | o_objectclass="pinPerson"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:102:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | o_retry= "5"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:114:6: warning: no previous prototype for 'getOptions' [-Wmissing-prototypes] 114 | void getOptions() { | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c: In function 'getOptions': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:128:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | if (i) o_ssl = "yes"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:159:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | o_debug = "yes"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:163:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | if (i) o_write = "yes"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:165:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | if (i) o_clobber = "yes"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:170:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | o_testpingen = "25"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:181:5: warning: no previous prototype for 'equals' [-Wmissing-prototypes] 181 | int equals(const char *s, const char *t) { | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/setpin/setpin_options.c:185:6: warning: no previous prototype for 'validateOptions' [-Wmissing-prototypes] 185 | void validateOptions() { | ^~~~~~~~~~~~~~~ [ 19%] Linking C executable setpin [ 19%] Built target setpin Scanning dependencies of target sslget [ 19%] Building C object base/native-tools/src/sslget/CMakeFiles/sslget.dir/sslget.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: In function 'ownPasswd': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:128:26: warning: unused parameter 'slot' [-Wunused-parameter] 128 | ownPasswd( PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: In function 'myBadCertHandler': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:193:25: warning: unused parameter 'arg' [-Wunused-parameter] 193 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:193:42: warning: unused parameter 'fd' [-Wunused-parameter] 193 | myBadCertHandler( void *arg, PRFileDesc *fd) | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:203:1: warning: no previous prototype for 'my_GetClientAuthData' [-Wmissing-prototypes] 203 | my_GetClientAuthData(void * arg, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: In function 'my_GetClientAuthData': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:221:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | FPRINTF(stderr," mygetclientauthdata - cert = %x\n",(unsigned int)cert); | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:224:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 224 | FPRINTF(stderr," mygetclientauthdata - privkey = %x\n",(unsigned int)privkey); | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:271:1: warning: no previous prototype for 'printSecurityInfo' [-Wmissing-prototypes] 271 | printSecurityInfo(PRFileDesc *fd) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: In function 'do_io': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:454:14: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 454 | char *status_string = PL_strndup(buf+9, 3); | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: In function 'do_connect': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:488:25: warning: variable 'result' set but not used [-Wunused-but-set-variable] 488 | SECStatus result; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: In function 'client_main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:676:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 676 | PRAddrInfo *ai; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:575:25: warning: unused parameter 'connections' [-Wunused-parameter] 575 | int connections, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:576:25: warning: unused parameter 'privKey' [-Wunused-parameter] 576 | SECKEYPrivateKey ** privKey, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:577:25: warning: unused parameter 'cert' [-Wunused-parameter] 577 | CERTCertificate ** cert, | ~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c: In function 'main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:796:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 796 | char * dir = "."; | ^~~ At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/sslget/sslget.c:551:1: warning: 'getIPAddress' defined but not used [-Wunused-function] 551 | getIPAddress(const char * hostName) | ^~~~~~~~~~~~ [ 20%] Building C object base/native-tools/src/sslget/CMakeFiles/sslget.dir/getopt.c.o [ 20%] Linking C executable sslget [ 20%] Built target sslget Scanning dependencies of target pistool [ 20%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/delete.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/delete.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 21%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/file.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/file.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/file.c: In function 'TKS_ReadInputFileIntoSECItem': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 26 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/file.c: In function 'TKS_WriteSECItemIntoOutputFile': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 318 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ [ 21%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/find.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/find.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 22%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/help.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/help.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/help.c: In function 'TKS_PrintHelp': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] 86 | TKS_PrintHelp( char *progName ) | ~~~~~~^~~~~~~~ [ 22%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/key.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c: In function 'InputHexSessionKey': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:224:19: warning: comparison of integer expressions of different signedness: 'int' and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 224 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:229:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 229 | for( i = count; i < hexSessionKeyShare->len; i += 4 ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:974:23: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 974 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:979:27: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'unsigned int' [-Wsign-compare] 979 | for( i = count; i < hexSessionKeyShare.len; i += 4 ) { | ^ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:20: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:137:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define SESSION_KEY "session" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:998:53: note: in expansion of macro 'SESSION_KEY' 998 | SESSION_KEY, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' 487 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:20: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c: In function 'TKS_InputSessionKeyShare': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:137:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define SESSION_KEY "session" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:1109:53: note: in expansion of macro 'SESSION_KEY' 1109 | SESSION_KEY, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' 487 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:20: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c: In function 'TKS_StoreSymmetricKeyAndNameIt': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:139:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define TRANSPORT_KEY "transport" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:1376:61: note: in expansion of macro 'TRANSPORT_KEY' 1376 | TRANSPORT_KEY, | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:487:42: note: expected 'char *' but argument is of type 'const char *' 487 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c: In function 'TKS_DetectKeyAlgorithm': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:1482:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1482 | CK_MECHANISM_TYPE mechanism = PK11_GetMechanism(key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:1032:9: warning: 'hexSessionKeyShare.len' may be used uninitialized in this function [-Wmaybe-uninitialized] 1032 | PORT_ZFree( ( unsigned char * ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1033 | hexSessionKeyShare.data, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1034 | hexSessionKeyShare.len ); | ~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/key.c:1032:9: warning: 'hexSessionKeyShare.data' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 23%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/list.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/list.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/list.c: In function 'TKS_ListKeys': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/list.c:153:19: warning: unused parameter 'index' [-Wunused-parameter] 153 | int index, | ~~~~^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/list.c:154:22: warning: unused parameter 'dopriv' [-Wunused-parameter] 154 | PRBool dopriv, | ~~~~~~~^~~~~~ [ 23%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/modules.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/modules.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 24%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/pistool.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c: In function 'main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | char *DBPrefix = ""; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:167:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | char *slotname = "internal"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:996:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 996 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1006:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1006 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1037:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1037 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1049:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1049 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:91:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define FIRST_SESSION_KEY_SHARE "first" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1187:42: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' 1187 | FIRST_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' 236 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:91:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define FIRST_SESSION_KEY_SHARE "first" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1206:46: note: in expansion of macro 'FIRST_SESSION_KEY_SHARE' 1206 | FIRST_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' 241 | TKS_InputSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:93:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define SECOND_SESSION_KEY_SHARE "second" | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1271:43: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' 1271 | SECOND_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' 236 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:93:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define SECOND_SESSION_KEY_SHARE "second" | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1290:47: note: in expansion of macro 'SECOND_SESSION_KEY_SHARE' 1290 | SECOND_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' 241 | TKS_InputSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:95:48: warning: passing argument 1 of 'TKS_GenerateSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define THIRD_SESSION_KEY_SHARE "third" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1422:42: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' 1422 | THIRD_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:236:46: note: expected 'char *' but argument is of type 'const char *' 236 | TKS_GenerateSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:95:48: warning: passing argument 1 of 'TKS_InputSessionKeyShare' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define THIRD_SESSION_KEY_SHARE "third" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1441:46: note: in expansion of macro 'THIRD_SESSION_KEY_SHARE' 1441 | THIRD_SESSION_KEY_SHARE, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:241:42: note: expected 'char *' but argument is of type 'const char *' 241 | TKS_InputSessionKeyShare( char *sessionKeyShareName, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:132:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define FIRST_SYMMETRIC_KEY "first" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1569:21: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' 1569 | FIRST_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:246:44: note: expected 'char *' but argument is of type 'const char *' 246 | TKS_ImportSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:132:48: warning: passing argument 1 of 'TKS_ImportSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define FIRST_SYMMETRIC_KEY "first" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1588:57: note: in expansion of macro 'FIRST_SYMMETRIC_KEY' 1588 | firstSymmetricKey = TKS_ImportSymmetricKey( FIRST_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:246:44: note: expected 'char *' but argument is of type 'const char *' 246 | TKS_ImportSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:133:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define SECOND_SYMMETRIC_KEY "second" | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1624:21: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' 1624 | SECOND_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:133:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define SECOND_SYMMETRIC_KEY "second" | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1646:58: note: in expansion of macro 'SECOND_SYMMETRIC_KEY' 1646 | secondSymmetricKey = TKS_DeriveSymmetricKey( SECOND_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:134:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define THIRD_SYMMETRIC_KEY "third" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1684:21: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' 1684 | THIRD_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:134:48: warning: passing argument 1 of 'TKS_DeriveSymmetricKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define THIRD_SYMMETRIC_KEY "third" | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1706:57: note: in expansion of macro 'THIRD_SYMMETRIC_KEY' 1706 | thirdSymmetricKey = TKS_DeriveSymmetricKey( THIRD_SYMMETRIC_KEY, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:254:44: note: expected 'char *' but argument is of type 'const char *' 254 | TKS_DeriveSymmetricKey( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:139:48: warning: passing argument 1 of 'TKS_StoreSymmetricKeyAndNameIt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define TRANSPORT_KEY "transport" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1739:62: note: in expansion of macro 'TRANSPORT_KEY' 1739 | rvSymmetricKeyname = TKS_StoreSymmetricKeyAndNameIt( TRANSPORT_KEY, | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:263:52: note: expected 'char *' but argument is of type 'const char *' 263 | TKS_StoreSymmetricKeyAndNameIt( char *symmetricKeyName, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1816:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1816 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(symmetricKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1827:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 1827 | switch(detectedAlg) | ^~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:136:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define RESIDENT_KEY "resident" | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:1840:57: note: in expansion of macro 'RESIDENT_KEY' 1840 | RESIDENT_KEY, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:136:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define RESIDENT_KEY "resident" | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2043:57: note: in expansion of macro 'RESIDENT_KEY' 2043 | RESIDENT_KEY, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2178:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2178 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(symmetricKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2189:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 2189 | switch(detectedAlg) | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2378:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2378 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(transportKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2389:9: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 2389 | switch(detectedAlg) | ^~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:140:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | #define UNWRAPPED_KEY "unwrapped" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2498:43: note: in expansion of macro 'UNWRAPPED_KEY' 2498 | UNWRAPPED_KEY, | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2564:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2564 | SECItem seciCKAExtractable; | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2698:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2698 | KeyAlgorithm detectedAlg = TKS_DetectKeyAlgorithm(transportKey); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2707:29: warning: comparison of integer expressions of different signedness: 'KeyAlgorithm' and 'int' [-Wsign-compare] 2707 | else if(detectedAlg != keyAlg) | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2712:49: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2712 | case KEY_ALG_AES: detectedAlgString = ALG_AES; break; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2713:49: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2713 | case KEY_ALG_DES: detectedAlgString = ALG_DES; break; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2710:13: warning: enumeration value 'KEY_ALG_UNKNOWN' not handled in switch [-Wswitch] 2710 | switch(detectedAlg) | ^~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:20: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:141:48: warning: passing argument 7 of 'TKS_ComputeAndDisplayKCV' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | #define WRAPPED_KEY "wrapped" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2863:57: note: in expansion of macro 'WRAPPED_KEY' 2863 | WRAPPED_KEY, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:230:42: note: expected 'char *' but argument is of type 'const char *' 230 | char *keyType, | ~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2962:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2962 | SECItem seciCKAExtractable; | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:160:36: warning: variable 'DBDir' set but not used [-Wunused-but-set-variable] 160 | char *DBDir = NULL; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pistool.c:2716:13: warning: 'detectedAlgString' may be used uninitialized in this function [-Wmaybe-uninitialized] 2716 | PR_fprintf(PR_STDERR, | ^~~~~~~~~~~~~~~~~~~~~ 2717 | "The transport key type (%s) does not match the -a algorithm" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2718 | " parameter. Exiting.\n\n", detectedAlgString); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/pppolicy.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:76:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 76 | 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.8.3/base/native-tools/src/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:78:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 78 | 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.8.3/base/native-tools/src/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:86:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 86 | 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.8.3/base/native-tools/src/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:89:4: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 89 | 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.8.3/base/native-tools/src/pistool/src/pppolicy.c:53: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:200:9: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | "Display Text", level+1); | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:283:60: note: expected 'char *' but argument is of type 'const char *' 283 | extern void SECU_PrintString(FILE *out, SECItem *si, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:181:37: warning: unused parameter 'msg' [-Wunused-parameter] 181 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:216:6: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 216 | "Policy Qualifier Name", level); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' 200 | extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:229:37: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | SECU_PrintAny(out, qualifierValue, "Policy Qualifier Data", level); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' 284 | extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:241:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | SECU_PrintObjectID(out, &policyInfo->policyID , "Policy Name", level); | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:200:68: note: expected 'char *' but argument is of type 'const char *' 200 | extern SECOidTag SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:244:50: warning: passing argument 3 of 'secu_PrintPolicyQualifier' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 244 | secu_PrintPolicyQualifier(out,*policyQualifiers,"",level+1); | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:210:12: note: expected 'char *' but argument is of type 'const char *' 210 | char *msg,int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:236:65: warning: unused parameter 'msg' [-Wunused-parameter] 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c: In function 'SECU_PrintPolicy': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:263:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | SECU_PrintAny(out, value, "Invalid Policy Data", level); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:284:56: note: expected 'char *' but argument is of type 'const char *' 284 | extern void SECU_PrintAny(FILE *out, SECItem *i, char *m, int level); | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:269:40: warning: passing argument 3 of 'secu_PrintPolicyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 | secu_PrintPolicyInfo(out,*policyInfos,"",level); | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:236:65: note: expected 'char *' but argument is of type 'const char *' 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,char *msg,int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c: In function 'SECU_PrintPrivKeyUsagePeriodExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:292:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | SECU_PrintGeneralizedTime(out, &prd->notBefore, "Not Before", level); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' 224 | extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:295:50: warning: passing argument 3 of 'SECU_PrintGeneralizedTime' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 295 | SECU_PrintGeneralizedTime(out, &prd->notAfter, "Not After ", level); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:58: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:224:68: note: expected 'char *' but argument is of type 'const char *' 224 | extern void SECU_PrintGeneralizedTime(FILE *out, SECItem *t, char *m, | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 224 | if (SECSuccess == rv) | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/pppolicy.c:227:4: note: here 227 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: | ^~~~ [ 25%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/random.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/random.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 25%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/retrieve.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/retrieve.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 26%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/secerror.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] 74 | SECU_Strerror(PRErrorCode errNum) { | ^~~~~~~~~~~~~ [ 26%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/secpwd.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secpwd.c:44: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secpwd.c:69:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | #define QUIET_FGETS fgets | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); | ^~~~~~~~~~~ [ 27%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/secutil.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:60: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] 99 | SECU_GetString(int16 error_number) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:118:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 118 | vfprintf(out, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:137:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 137 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:153:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 153 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] 172 | SECU_GetPasswordString(void *arg, char *prompt) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:221:31: warning: unused parameter 'slot' [-Wunused-parameter] 221 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:262:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | secuPWData pwxtrn = { PW_EXTERNAL, "external" }; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:307:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] 307 | secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_InitSlotPassword': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:349:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 349 | p0 = SEC_GetPassword(input, output, "Enter new password: ", | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:123:57: note: expected 'char *' but argument is of type 'const char *' 123 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:354:38: warning: passing argument 3 of 'SEC_GetPassword' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 354 | p1 = SEC_GetPassword(input, output, "Re-enter password: ", | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:123:57: note: expected 'char *' but argument is of type 'const char *' 123 | extern char *SEC_GetPassword(FILE *in, FILE *out, char *msg, | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:374:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 374 | SECStatus rv; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:483:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 483 | if (!home) home = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:503:47: warning: unused parameter 'fd' [-Wunused-parameter] 503 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:504:35: warning: unused parameter 'caNames' [-Wunused-parameter] 504 | struct CERTDistNamesStr *caNames, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:544:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] 544 | secu_StdinToItem(SECItem *dst) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:875:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] 875 | SECU_StripTagAndLength(SECItem *i) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1075:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] 1075 | SECU_PrintSet(FILE *out, SECItem *t, char *m, int level) | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1207:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] 1207 | SECU_PrintEncodedBoolean(FILE *out, SECItem *i, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1216:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] 1216 | SECU_PrintEncodedInteger(FILE *out, SECItem *i, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1225:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] 1225 | SECU_PrintEncodedObjectID(FILE *out, SECItem *i, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintValidity': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1379:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1379 | SECU_PrintTimeChoice(out, &v->notBefore, "Not Before", level+1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1380:46: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1380 | SECU_PrintTimeChoice(out, &v->notAfter, "Not After ", level+1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintAttribute': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1445:44: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1445 | SECU_PrintObjectID(out, &(attr->type), "Type", level+1); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintRSAPublicKey': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1474:48: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1474 | SECU_PrintInteger(out, &pk->u.rsa.modulus, "Modulus", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1475:55: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1475 | SECU_PrintInteger(out, &pk->u.rsa.publicExponent, "Exponent", level+1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintDSAPublicKey': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1486:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1486 | SECU_PrintInteger(out, &pk->u.dsa.params.prime, "Prime", level+1); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1487:56: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1487 | SECU_PrintInteger(out, &pk->u.dsa.params.subPrime, "Subprime", level+1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1488:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1488 | SECU_PrintInteger(out, &pk->u.dsa.params.base, "Base", level+1); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1489:52: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1489 | SECU_PrintInteger(out, &pk->u.dsa.publicValue, "PublicValue", level+1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1519:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1519 | SECU_PrintAlgorithmID(out, &i->algorithm, "Public Key Algorithm", level+1); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1525:38: warning: passing argument 3 of 'secu_PrintRSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1525 | secu_PrintRSAPublicKey(out, pk, "RSA Public Key", level +1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1470:62: note: expected 'char *' but argument is of type 'const char *' 1470 | secu_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1529:38: warning: passing argument 3 of 'secu_PrintDSAPublicKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1529 | secu_PrintDSAPublicKey(out, pk, "DSA Public Key", level +1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1483:62: note: expected 'char *' but argument is of type 'const char *' 1483 | secu_PrintDSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1551:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1551 | SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1551:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1551 | SECU_PrintErrMsg(out, level, "Error", "Parsing public key"); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1554:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1554 | SECU_PrintAny(out, &i->subjectPublicKey, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1513:56: warning: unused parameter 'arena' [-Wunused-parameter] 1513 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintX509InvalidDate': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1575:22: warning: passing argument 2 of 'CERT_GenTime2FormattedAscii' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1575 | (invalidTime, "%a %b %d %H:%M:%S %Y"); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:54, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:60: /usr/include/nss3/secder.h:158:64: note: expected 'char *' but argument is of type 'const char *' 158 | extern char *CERT_GenTime2FormattedAscii(PRTime genTime, char *format); | ~~~~~~^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintNSCertType': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1649:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1649 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1698:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1698 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1688:57: warning: unused parameter 'msg' [-Wunused-parameter] 1688 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintGeneralName': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1766:53: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1766 | SECU_PrintAny( out, &gname->name.OthName.name, "Other Name", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1767:53: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1767 | SECU_PrintObjectID(out, &gname->name.OthName.oid, "OID", level+1); | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1770:50: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1770 | SECU_PrintName(out, &gname->name.directoryName, "Directory Name", level); | ^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:293:61: note: expected 'char *' but argument is of type 'const char *' 293 | extern void SECU_PrintName(FILE *out, CERTName *name, char *msg, int level); | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1773:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1773 | secu_PrintRawString( out, &gname->name.other, "RFC822 Name", level); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' 922 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1776:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1776 | secu_PrintRawString( out, &gname->name.other, "DNS name", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' 922 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1779:50: warning: passing argument 3 of 'secu_PrintRawString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1779 | secu_PrintRawString( out, &gname->name.other, "URI", level); | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:922:51: note: expected 'char *' but argument is of type 'const char *' 922 | secu_PrintRawString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1782:47: warning: passing argument 3 of 'secu_PrintIPAddress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1782 | secu_PrintIPAddress(out, &gname->name.other, "IP Address", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1723:54: note: expected 'char *' but argument is of type 'const char *' 1723 | secu_PrintIPAddress(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1785:47: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1785 | SECU_PrintObjectID( out, &gname->name.other, "Registered ID", level); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1788:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1788 | SECU_PrintAny( out, &gname->name.other, "X400 Address", level); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1791:47: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1791 | SECU_PrintAny( out, &gname->name.other, "EDI Party", level); | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1808:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1808 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1808:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1808 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1813:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1813 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1813:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1813 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1814:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1814 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1832:54: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1832 | secu_PrintGeneralName(out, kid->authCertIssuer, "Issuer", level); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' 1758 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1835:22: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1835 | "Serial Number", level); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1802:63: warning: unused parameter 'msg' [-Wunused-parameter] 1802 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintAltNameExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1849:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1849 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1849:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1849 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1858:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1858 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1858:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1858 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1859:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1859 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1876:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1876 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1876:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1876 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1893:45: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1893 | SECU_PrintAny(out, &pPoint->derDistPoint, "Point", level); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1896:53: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1896 | secu_PrintDecodedBitString(out, &pPoint->reasons, "Reasons", | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' 1188 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1900:49: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1900 | secu_PrintGeneralName(out, pPoint->crlIssuer, "Issuer", level); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' 1758 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1904:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1904 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1904:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1904 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1905:28: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1905 | SECU_PrintAny(out, value, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1870:64: warning: unused parameter 'msg' [-Wunused-parameter] 1870 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintNameConstraintSubtree': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1921:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1921 | SECU_PrintInteger(out, &value->min, "Minimum", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1923:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1923 | SECU_PrintInteger(out, &value->max, "Maximum", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1935:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1935 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1935:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1935 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1940:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1940 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1940:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1940 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1941:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1941 | SECU_PrintAny(out, value, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1945:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1945 | "Permitted", level); | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1913:39: note: expected 'char *' but argument is of type 'const char *' 1913 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1948:38: warning: passing argument 3 of 'secu_PrintNameConstraintSubtree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1948 | "Excluded", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1913:39: note: expected 'char *' but argument is of type 'const char *' 1913 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1929:69: warning: unused parameter 'msg' [-Wunused-parameter] 1929 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1961:18: warning: passing argument 1 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1961 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:23: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1961:27: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1961 | SECU_PrintError("Error", "Allocating new ArenaPool"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1966:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1966 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1966:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1966 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1967:32: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1967 | SECU_PrintAny(out, value, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1972:42: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1972 | SECU_PrintObjectID(out, &info->method, "Method", level); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1978:46: warning: passing argument 3 of 'secu_PrintGeneralName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1978 | secu_PrintGeneralName(out, info->location, "Location", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1758:64: note: expected 'char *' but argument is of type 'const char *' 1758 | secu_PrintGeneralName(FILE *out, CERTGeneralName *gname, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1980:42: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1980 | SECU_PrintAny(out, &info->derLocation, "Location", level); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1955:63: warning: unused parameter 'msg' [-Wunused-parameter] 1955 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintExtensions': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2003:39: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2003 | SECU_PrintObjectID(out, tmpitem, "Name", level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2016:46: warning: passing argument 3 of 'secu_PrintX509InvalidDate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2016 | secu_PrintX509InvalidDate(out, tmpitem, "Date", level ); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1560:60: note: expected 'char *' but argument is of type 'const char *' 1560 | secu_PrintX509InvalidDate(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2019:37: warning: passing argument 3 of 'SECU_PrintPolicy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2019 | SECU_PrintPolicy(out, tmpitem, "Data", level ); | ^~~~~~ In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:60: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:286:63: note: expected 'char *' but argument is of type 'const char *' 286 | extern void SECU_PrintPolicy(FILE *out, SECItem *value, char *msg, int level); | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2031:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2031 | SECU_PrintString(out,tmpitem, "URL", level); | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' 954 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2034:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2034 | SECU_PrintString(out,tmpitem, "Comment", level); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' 954 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2037:37: warning: passing argument 3 of 'SECU_PrintString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2037 | SECU_PrintString(out,tmpitem, "ServerName", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:954:48: note: expected 'char *' but argument is of type 'const char *' 954 | SECU_PrintString(FILE *out, SECItem *si, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2040:40: warning: passing argument 3 of 'secu_PrintNSCertType' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2040 | secu_PrintNSCertType(out,tmpitem,"Data",level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1639:55: note: expected 'char *' but argument is of type 'const char *' 1639 | secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2043:46: warning: passing argument 3 of 'secu_PrintBasicConstraints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2043 | secu_PrintBasicConstraints(out,tmpitem,"Data",level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1604:61: note: expected 'char *' but argument is of type 'const char *' 1604 | secu_PrintBasicConstraints(FILE *out, SECItem *value, char *msg, int level) { | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2108:35: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2108 | SECU_PrintAny(out, tmpitem, "Data", level); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintName': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2128:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2128 | str = "!Invalid AVA!"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2149:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2149 | if (flags & CERTDB_VALID_PEER) | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2192:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2192 | name = "(NULL)"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2211:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] 2211 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2232:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] 2232 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintSetOfExtensions': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2239:55: warning: passing argument 3 of 'SECU_DecodeAndPrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2239 | rv |= SECU_DecodeAndPrintExtensions(out, any[0], "", level); | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2211:62: note: expected 'char *' but argument is of type 'const char *' 2211 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2247:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] 2247 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintSetOfAny': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2254:33: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2254 | SECU_PrintAny(out, any[0], "", level); | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2261:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] 2261 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2265:52: warning: passing argument 3 of 'SECU_PrintObjectID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2265 | tag = SECU_PrintObjectID(out, &attr->attrType, "Attribute Type", level); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1386:51: note: expected 'char *' but argument is of type 'const char *' 1386 | SECU_PrintObjectID(FILE *out, SECItem *oid, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2267:55: warning: passing argument 3 of 'SECU_PrintSetOfExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2267 | rv = SECU_PrintSetOfExtensions(out, attr->attrValue, "Extensions", level); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2232:59: note: expected 'char *' but argument is of type 'const char *' 2232 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2269:48: warning: passing argument 3 of 'SECU_PrintSetOfAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2269 | rv = SECU_PrintSetOfAny(out, attr->attrValue, "Attribute Values", level); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2247:52: note: expected 'char *' but argument is of type 'const char *' 2247 | SECU_PrintSetOfAny(FILE *out, SECItem **any, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2261:63: warning: unused parameter 'm' [-Wunused-parameter] 2261 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2275:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] 2275 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintCertificateRequest': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2307:42: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2307 | SECU_PrintInteger(out, &cr->version, "Version", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2308:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2308 | SECU_PrintName(out, &cr->subject, "Subject", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2310:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2310 | "Subject Public Key Info", level+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1514:46: note: expected 'char *' but argument is of type 'const char *' 1514 | CERTSubjectPublicKeyInfo *i, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2312:48: warning: passing argument 3 of 'SECU_PrintCertAttributes' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2312 | SECU_PrintCertAttributes(out, cr->attributes, "Attributes", level+1); | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2275:66: note: expected 'char *' but argument is of type 'const char *' 2275 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintCertificate': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2339:31: warning: passing argument 3 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2339 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:46: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2339:40: warning: passing argument 4 of 'SECU_PrintErrMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2339 | SECU_PrintErrMsg(out, level, "Error", "Parsing extension"); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:108:62: note: expected 'char *' but argument is of type 'const char *' 108 | SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2340:26: warning: passing argument 3 of 'SECU_PrintAny' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2340 | SECU_PrintAny(out, der, "Raw", level); | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1358:44: note: expected 'char *' but argument is of type 'const char *' 1358 | SECU_PrintAny(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2348:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2348 | SECU_PrintInteger(out, &c->serialNumber, "Serial Number", level+1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2349:47: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2349 | SECU_PrintAlgorithmID(out, &c->signature, "Signature Algorithm", level+1); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2350:37: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2350 | SECU_PrintName(out, &c->issuer, "Issuer", level+1); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2351:43: warning: passing argument 3 of 'secu_PrintValidity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2351 | secu_PrintValidity(out, &c->validity, "Validity", level+1); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1376:54: note: expected 'char *' but argument is of type 'const char *' 1376 | secu_PrintValidity(FILE *out, CERTValidity *v, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2352:38: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2352 | SECU_PrintName(out, &c->subject, "Subject", level+1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2354:10: warning: passing argument 4 of 'secu_PrintSubjectPublicKeyInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2354 | "Subject Public Key Info", level+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1514:46: note: expected 'char *' but argument is of type 'const char *' 1514 | CERTSubjectPublicKeyInfo *i, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2356:48: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2356 | secu_PrintDecodedBitString(out, &c->issuerID, "Issuer Unique ID", level+1); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' 1188 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2358:49: warning: passing argument 3 of 'secu_PrintDecodedBitString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2358 | secu_PrintDecodedBitString(out, &c->subjectID, "Subject Unique ID", level+1); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1188:57: note: expected 'char *' but argument is of type 'const char *' 1188 | secu_PrintDecodedBitString(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2359:46: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2359 | SECU_PrintExtensions(out, c->extensions, "Signed Extensions", level+1); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1990:14: note: expected 'char *' but argument is of type 'const char *' 1990 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintPKCS7EncContent': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2482:6: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2482 | "Content Encryption Algorithm", level+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintRecipientInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2496:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2496 | SECU_PrintInteger(out, &(info->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2498:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2498 | SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2501:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2501 | "Serial Number", level + 1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2505:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2505 | "Key Encryption Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintSignerInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2521:46: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2521 | SECU_PrintInteger(out, &(info->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2523:55: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2523 | SECU_PrintName(out, &(info->issuerAndSN->issuer), "Issuer", | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2526:9: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2526 | "Serial Number", level + 1); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2528:52: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2528 | SECU_PrintAlgorithmID(out, &(info->digestAlg), "Digest Algorithm", | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2543:4: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2543 | "Digest Encryption Algorithm", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintCRLInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2574:54: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2574 | SECU_PrintAlgorithmID(out, &(crl->signatureAlg), "Signature Algorithm", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2576:39: warning: passing argument 3 of 'SECU_PrintName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2576 | SECU_PrintName(out, &(crl->name), "Issuer", level + 1); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2120:49: note: expected 'char *' but argument is of type 'const char *' 2120 | SECU_PrintName(FILE *out, CERTName *name, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2577:51: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2577 | SECU_PrintTimeChoice(out, &(crl->lastUpdate), "This Update", level + 1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2579:48: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2579 | SECU_PrintTimeChoice(out, &(crl->nextUpdate), "Next Update", level + 1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2586:53: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2586 | SECU_PrintInteger(out, &(entry->serialNumber), "Serial Number", | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2589:27: warning: passing argument 3 of 'SECU_PrintTimeChoice' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2589 | "Revocation Date", level + 2); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1055:51: note: expected 'char *' but argument is of type 'const char *' 1055 | SECU_PrintTimeChoice(FILE *out, SECItem *t, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2591:27: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2591 | "Entry Extensions", level + 2); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1990:14: note: expected 'char *' but argument is of type 'const char *' 1990 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2594:48: warning: passing argument 3 of 'SECU_PrintExtensions' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2594 | SECU_PrintExtensions(out, crl->extensions, "CRL Extensions", level + 1); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1990:14: note: expected 'char *' but argument is of type 'const char *' 1990 | char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintPKCS7Signed': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2613:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2613 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2627:9: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2627 | "Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2462:60: note: expected 'char *' but argument is of type 'const char *' 2462 | secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2653:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2653 | "Signature Algorithm", level+3); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2657:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2657 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2563:50: note: expected 'char *' but argument is of type 'const char *' 2563 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintPKCS7Enveloped': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2689:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2689 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2703:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2703 | "Encrypted Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2470:12: note: expected 'char *' but argument is of type 'const char *' 2470 | char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintPKCS7SignedAndEnveloped': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2724:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2724 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2748:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2748 | "Encrypted Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2470:12: note: expected 'char *' but argument is of type 'const char *' 2470 | char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2772:7: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2772 | "Signature Algorithm", level+3); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2776:41: warning: passing argument 3 of 'SECU_PrintCRLInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2776 | SECU_PrintCRLInfo(out, &aCrl->crl, "Certificate Revocation List", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2563:50: note: expected 'char *' but argument is of type 'const char *' 2563 | SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintPKCS7Encrypted': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2829:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2829 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2832:10: warning: passing argument 3 of 'secu_PrintPKCS7EncContent' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2832 | "Encrypted Content Information", level + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2470:12: note: expected 'char *' but argument is of type 'const char *' 2470 | char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'secu_PrintPKCS7Digested': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2844:45: warning: passing argument 3 of 'SECU_PrintInteger' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2844 | SECU_PrintInteger(out, &(src->version), "Version", level + 1); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:897:48: note: expected 'char *' but argument is of type 'const char *' 897 | SECU_PrintInteger(FILE *out, SECItem *i, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2846:49: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2846 | SECU_PrintAlgorithmID(out, &src->digestAlg, "Digest Algorithm", | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2848:56: warning: passing argument 3 of 'secu_PrintPKCS7ContentInfo' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2848 | secu_PrintPKCS7ContentInfo(out, &src->contentInfo, "Content Information", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2462:60: note: expected 'char *' but argument is of type 'const char *' 2462 | secu_PrintPKCS7ContentInfo(FILE *, SEC_PKCS7ContentInfo *, char *, int); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2946:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] 2946 | printFlags(FILE *out, unsigned int flags, int level) | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2948:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2948 | if ( flags & CERTDB_VALID_PEER ) { | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintSignedData': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3010:35: warning: passing argument 3 of 'inner' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3010 | rv = (*inner)(out, &sd->data, "Data", level+1); | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3010:35: note: expected 'char *' but argument is of type 'const char *' /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3012:57: warning: passing argument 3 of 'SECU_PrintAlgorithmID' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3012 | SECU_PrintAlgorithmID(out, &sd->signatureAlgorithm, "Signature Algorithm", | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:1416:59: note: expected 'char *' but argument is of type 'const char *' 1416 | SECU_PrintAlgorithmID(FILE *out, SECAlgorithmID *a, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3016:38: warning: passing argument 3 of 'SECU_PrintFingerprints' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3016 | SECU_PrintFingerprints(out, der, "Fingerprint", level+1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:2416:59: note: expected 'char *' but argument is of type 'const char *' 2416 | SECU_PrintFingerprints(FILE *out, SECItem *derCert, char *m, int level) | ~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3024:52: warning: unused parameter 'progName' [-Wunused-parameter] 3024 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_PrintPRandOSError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3224:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3224 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3227:31: warning: passing argument 2 of 'SECU_PrintError' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3227 | SECU_PrintError(progName, "function failed"); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:128:39: note: expected 'char *' but argument is of type 'const char *' 128 | SECU_PrintError(char *progName, char *msg, ...) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3228:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3228 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3288:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3288 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3291:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3291 | errstr = "Cert cannot sign."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3294:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3294 | errstr = "Cert cannot encrypt."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3297:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3297 | errstr = "Cert cannot sign other certs."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3300:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3300 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3304:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3304 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3308:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3308 | errstr = "Cert cannot be used for SSL."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3311:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3311 | errstr = "Cert cannot be used as an SSL CA."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3314:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3314 | errstr = "Cert cannot be used for SMIME."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3317:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3317 | errstr = "Cert cannot be used as an SMIME CA."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3320:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3320 | errstr = "Cert cannot be used for object signing."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3323:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3323 | errstr = "Cert cannot be used as an object signing CA."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3326:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3326 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3388:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3388 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_DerSignDataCRL': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/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] 3544 | PORT_Memset(sd, 0, sizeof(sd)); | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3604:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] 3604 | CERTAuthKeyID* authorityKeyID, PRTime validTime) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3289:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3289 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3303:6: note: here 3303 | case SEC_ERROR_INADEQUATE_CERT_TYPE: | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3305:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3305 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/secutil.c:3329:6: note: here 3329 | case SEC_ERROR_UNKNOWN_ISSUER: | ^~~~ [ 28%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/util.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] 348 | TKS_ClearScreen() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] 359 | TKS_WaitForUser() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] 377 | TKS_TypeProceedToContinue() | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c: In function 'TKS_TypeProceedToContinue': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] 387 | tcflag_t orig_lflag; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] 386 | cc_t orig_cc_time; | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] 385 | cc_t orig_cc_min; | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 383 | int rv = 0; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c: In function 'TKS_ClearScreen': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/util.c:351:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 351 | system( "tput clear" ); | ^~~~~~~~~~~~~~~~~~~~~~ [ 28%] Building C object base/native-tools/src/pistool/src/CMakeFiles/pistool.dir/version.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/secutil.h:51, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/include/pistool.h:58, from /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/pistool/src/version.c:20: /usr/include/nss3/key.h:9:9: note: '#pragma message: key.h is deprecated. Please include keyhi.h instead.' 9 | #pragma message("key.h is deprecated. Please include keyhi.h instead.") | ^~~~~~~ [ 29%] Linking C executable pistool [ 29%] Built target pistool Scanning dependencies of target tkstool [ 29%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/delete.c.o [ 30%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/file.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/file.c: In function 'TKS_ReadInputFileIntoSECItem': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/file.c:26:40: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 26 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/file.c: In function 'TKS_WriteSECItemIntoOutputFile': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/file.c:318:42: warning: unused parameter 'wrappedKeyName' [-Wunused-parameter] 318 | char *wrappedKeyName, | ~~~~~~~~~^~~~~~~~~~~~~~ [ 30%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/find.c.o [ 31%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/help.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/help.c: In function 'TKS_PrintHelp': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/help.c:86:22: warning: unused parameter 'progName' [-Wunused-parameter] 86 | TKS_PrintHelp( char *progName ) | ~~~~~~^~~~~~~~ [ 31%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/key.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c: In function 'InputHexSessionKey': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:229:19: warning: comparison of integer expressions of different signedness: 'int' and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 229 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:234:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 234 | for( i = count; i < hexSessionKeyShare->len; i += 4 ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c: In function 'TKS_GenerateSessionKeyShare': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:904:23: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'PRUint32' {aka 'unsigned int'} [-Wsign-compare] 904 | for( i = 0; i < PL_strlen( sessionKeyShareName ); i++ ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:909:27: warning: comparison of integer expressions of different signedness: 'PRIntn' {aka 'int'} and 'unsigned int' [-Wsign-compare] 909 | for( i = count; i < hexSessionKeyShare.len; i += 4 ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c: In function 'TKS_ImportSymmetricKey': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:1080:44: warning: declaration of 'pwdata' shadows a global declaration [-Wshadow] 1080 | secuPWData *pwdata, PRBool isPerm ) | ~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:22:15: note: shadowed declaration is here 22 | secuPWData pwdata = { PW_NONE, | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:1082:17: warning: unused variable 'origin' [-Wunused-variable] 1082 | PK11Origin origin = PK11_OriginGenerated; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:1077:44: warning: unused parameter 'mechanism' [-Wunused-parameter] 1077 | CK_MECHANISM_TYPE mechanism, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:1078:44: warning: unused parameter 'operation' [-Wunused-parameter] 1078 | CK_ATTRIBUTE_TYPE operation, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/key.c:1080:44: warning: unused parameter 'pwdata' [-Wunused-parameter] 1080 | secuPWData *pwdata, PRBool isPerm ) | ~~~~~~~~~~~~~~~~~~~^~~~~~ [ 32%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/list.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/list.c: In function 'TKS_ListKeys': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/list.c:132:19: warning: unused parameter 'index' [-Wunused-parameter] 132 | int index, | ~~~~^~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/list.c:133:22: warning: unused parameter 'dopriv' [-Wunused-parameter] 133 | PRBool dopriv, | ~~~~~~~^~~~~~ [ 32%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/modules.c.o [ 33%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/pppolicy.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:76:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 76 | 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.8.3/base/native-tools/src/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:78:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 78 | 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.8.3/base/native-tools/src/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:86:4: warning: missing initializer for field 'sub' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 86 | 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.8.3/base/native-tools/src/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:47:17: note: 'sub' declared here 47 | const void *sub; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:89:4: warning: missing initializer for field 'size' of 'SEC_ASN1Template' {aka 'const struct sec_ASN1Template_struct'} [-Wmissing-field-initializers] 89 | 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.8.3/base/native-tools/src/tkstool/pppolicy.c:53: /usr/include/nss3/secasn1t.h:55:18: note: 'size' declared here 55 | unsigned int size; | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintUserNoticeQualifier': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:181:43: warning: unused parameter 'msg' [-Wunused-parameter] 181 | const char *msg, int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:236:71: warning: unused parameter 'msg' [-Wunused-parameter] 236 | secu_PrintPolicyInfo(FILE *out,CERTPolicyInfo *policyInfo,const char *msg,int level) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c: In function 'secu_PrintPolicyQualifier': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:224:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 224 | if (SECSuccess == rv) | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/pppolicy.c:227:4: note: here 227 | case SEC_OID_PKIX_CPS_POINTER_QUALIFIER: | ^~~~ [ 33%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/random.c.o [ 34%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/retrieve.c.o [ 34%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secerror.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secerror.c:74:1: warning: no previous prototype for 'SECU_Strerror' [-Wmissing-prototypes] 74 | SECU_Strerror(PRErrorCode errNum) { | ^~~~~~~~~~~~~ [ 35%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secpwd.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secpwd.c: In function 'SEC_GetPassword': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secpwd.c:69:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | #define QUIET_FGETS fgets | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secpwd.c:117:2: note: in expansion of macro 'QUIET_FGETS' 117 | QUIET_FGETS ( phrase, sizeof(phrase), input); | ^~~~~~~~~~~ [ 35%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/secutil.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:99:1: warning: no previous prototype for 'SECU_GetString' [-Wmissing-prototypes] 99 | SECU_GetString(int16 error_number) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:108:1: warning: no previous prototype for 'SECU_PrintErrMsg' [-Wmissing-prototypes] 108 | SECU_PrintErrMsg(FILE *out, int level, const char *progName, const char *msg, ...) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintErrMsg': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:118:5: warning: function 'SECU_PrintErrMsg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 118 | vfprintf(out, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:137:5: warning: function 'SECU_PrintError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 137 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintSystemError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:153:5: warning: function 'SECU_PrintSystemError' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 153 | vfprintf(stderr, msg, args); | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetPasswordString': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:172:30: warning: unused parameter 'arg' [-Wunused-parameter] 172 | SECU_GetPasswordString(void *arg, char *prompt) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FilePasswd': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:222:31: warning: unused parameter 'slot' [-Wunused-parameter] 222 | SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg) | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetModulePassword': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:263:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | secuPWData pwxtrn = { PW_EXTERNAL, "external" }; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:308:1: warning: no previous prototype for 'secu_InitSlotPassword' [-Wmissing-prototypes] 308 | secu_InitSlotPassword(PK11SlotInfo *slot, PRBool retry, void *arg) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ChangePW': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:376:15: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 376 | SECStatus rv; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ConfigDirectory': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:485:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 485 | if (!home) home = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_GetClientAuthData': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:505:47: warning: unused parameter 'fd' [-Wunused-parameter] 505 | SECU_GetClientAuthData(void *arg, PRFileDesc *fd, | ~~~~~~~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:506:35: warning: unused parameter 'caNames' [-Wunused-parameter] 506 | struct CERTDistNamesStr *caNames, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:546:1: warning: no previous prototype for 'secu_StdinToItem' [-Wmissing-prototypes] 546 | secu_StdinToItem(SECItem *dst) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ReadDERFromFile': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:671:2: warning: missing initializer for field 'len' of 'SECItem' {aka 'struct SECItemStr'} [-Wmissing-field-initializers] 671 | 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.8.3/base/native-tools/src/tkstool/secutil.c:59: /usr/include/nss3/seccomon.h:53:18: note: 'len' declared here 53 | unsigned int len; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:877:1: warning: no previous prototype for 'SECU_StripTagAndLength' [-Wmissing-prototypes] 877 | SECU_StripTagAndLength(SECItem *i) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1077:1: warning: no previous prototype for 'SECU_PrintSet' [-Wmissing-prototypes] 1077 | SECU_PrintSet(FILE *out, SECItem *t, const char *m, int level) | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1209:1: warning: no previous prototype for 'SECU_PrintEncodedBoolean' [-Wmissing-prototypes] 1209 | SECU_PrintEncodedBoolean(FILE *out, SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1218:1: warning: no previous prototype for 'SECU_PrintEncodedInteger' [-Wmissing-prototypes] 1218 | SECU_PrintEncodedInteger(FILE *out, SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1227:1: warning: no previous prototype for 'SECU_PrintEncodedObjectID' [-Wmissing-prototypes] 1227 | SECU_PrintEncodedObjectID(FILE *out, SECItem *i, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintSubjectPublicKeyInfo': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1515:56: warning: unused parameter 'arena' [-Wunused-parameter] 1515 | secu_PrintSubjectPublicKeyInfo(FILE *out, PRArenaPool *arena, /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintX509KeyUsage': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1690:57: warning: unused parameter 'msg' [-Wunused-parameter] 1690 | secu_PrintX509KeyUsage(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthKeyIDExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1804:63: warning: unused parameter 'msg' [-Wunused-parameter] 1804 | secu_PrintAuthKeyIDExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintCRLDistPtsExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1872:64: warning: unused parameter 'msg' [-Wunused-parameter] 1872 | secu_PrintCRLDistPtsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintNameConstraintsExtension': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1931:69: warning: unused parameter 'msg' [-Wunused-parameter] 1931 | secu_PrintNameConstraintsExtension(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'secu_PrintAuthorityInfoAcess': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:1957:63: warning: unused parameter 'msg' [-Wunused-parameter] 1957 | secu_PrintAuthorityInfoAcess(FILE *out, SECItem *value, char *msg, int level) | ~~~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintName': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2130:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2130 | str = "!Invalid AVA!"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'printflags': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2151:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2151 | if (flags & CERTDB_VALID_PEER) | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertNickname': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2194:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2194 | name = "(NULL)"; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2213:1: warning: no previous prototype for 'SECU_DecodeAndPrintExtensions' [-Wmissing-prototypes] 2213 | SECU_DecodeAndPrintExtensions(FILE *out, SECItem *any, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2234:1: warning: no previous prototype for 'SECU_PrintSetOfExtensions' [-Wmissing-prototypes] 2234 | SECU_PrintSetOfExtensions(FILE *out, SECItem **any, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2249:1: warning: no previous prototype for 'SECU_PrintSetOfAny' [-Wmissing-prototypes] 2249 | SECU_PrintSetOfAny(FILE *out, SECItem **any, const char *m, int level) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2263:1: warning: no previous prototype for 'SECU_PrintCertAttribute' [-Wmissing-prototypes] 2263 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintCertAttribute': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2263:69: warning: unused parameter 'm' [-Wunused-parameter] 2263 | SECU_PrintCertAttribute(FILE *out, CERTAttribute *attr, const char *m, int level) | ~~~~~~~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2277:1: warning: no previous prototype for 'SECU_PrintCertAttributes' [-Wmissing-prototypes] 2277 | SECU_PrintCertAttributes(FILE *out, CERTAttribute **attrs, const char *m, int level) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2952:1: warning: no previous prototype for 'printFlags' [-Wmissing-prototypes] 2952 | printFlags(FILE *out, unsigned int flags, int level) | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'printFlags': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:2954:5: warning: '__CERTDB_VALID_PEER' is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD [-Wdeprecated-declarations] 2954 | if ( flags & CERTDB_VALID_PEER ) { | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_ParseCommandLine': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3030:52: warning: unused parameter 'progName' [-Wunused-parameter] 3030 | SECU_ParseCommandLine(int argc, char **argv, char *progName, secuCommand *cmd) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_PrintPRandOSError': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3235:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3235 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3239:30: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 3239 | if (errLen > 0 && errLen < sizeof buffer) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3299:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3299 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3302:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3302 | errstr = "Cert cannot sign."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3305:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3305 | errstr = "Cert cannot encrypt."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3308:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3308 | errstr = "Cert cannot sign other certs."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3311:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3311 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3315:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3315 | flags = (unsigned int)node->arg; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3319:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3319 | errstr = "Cert cannot be used for SSL."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3322:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3322 | errstr = "Cert cannot be used as an SSL CA."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3325 | errstr = "Cert cannot be used for SMIME."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3328:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3328 | errstr = "Cert cannot be used as an SMIME CA."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3331:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3331 | errstr = "Cert cannot be used for object signing."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3334:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3334 | errstr = "Cert cannot be used as an object signing CA."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3337:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3337 | errstr = "[unknown usage]."; | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_StoreCRL': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3399:62: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3399 | if (PR_Write(outFile, derCrl->data, derCrl->len) != derCrl->len) { | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_FindCrlIssuer': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3613:35: warning: unused parameter 'authorityKeyID' [-Wunused-parameter] 3613 | CERTAuthKeyID* authorityKeyID, PRTime validTime) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c: In function 'SECU_printCertProblems': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3300:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3300 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3314:6: note: here 3314 | case SEC_ERROR_INADEQUATE_CERT_TYPE: | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3316:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3316 | switch (flags) { | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/secutil.c:3340:6: note: here 3340 | case SEC_ERROR_UNKNOWN_ISSUER: | ^~~~ [ 36%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/tkstool.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/tkstool.c: In function 'main': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/tkstool.c:155:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 155 | char *DBPrefix = ""; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/tkstool.c:161:66: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | char *slotname = "internal"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/tkstool.c:878:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 878 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/tkstool.c:888:34: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 888 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/tkstool.c:919:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 919 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/tkstool.c:931:38: warning: comparison of integer expressions of different signedness: 'PRInt32' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 931 | if( errLen > 0 && errLen < sizeof buffer ) { | ^ [ 36%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/util.c.o /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:348:1: warning: no previous prototype for 'TKS_ClearScreen' [-Wmissing-prototypes] 348 | TKS_ClearScreen() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:359:1: warning: no previous prototype for 'TKS_WaitForUser' [-Wmissing-prototypes] 359 | TKS_WaitForUser() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:377:1: warning: no previous prototype for 'TKS_TypeProceedToContinue' [-Wmissing-prototypes] 377 | TKS_TypeProceedToContinue() | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c: In function 'TKS_TypeProceedToContinue': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:387:20: warning: variable 'orig_lflag' set but not used [-Wunused-but-set-variable] 387 | tcflag_t orig_lflag; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:386:20: warning: variable 'orig_cc_time' set but not used [-Wunused-but-set-variable] 386 | cc_t orig_cc_time; | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:385:20: warning: variable 'orig_cc_min' set but not used [-Wunused-but-set-variable] 385 | cc_t orig_cc_min; | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:383:20: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 383 | int rv = 0; | ^~ /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c: In function 'TKS_ClearScreen': /builddir/build/BUILD/pki-10.8.3/base/native-tools/src/tkstool/util.c:351:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 351 | system( "tput clear" ); | ^~~~~~~~~~~~~~~~~~~~~~ [ 37%] Building C object base/native-tools/src/tkstool/CMakeFiles/tkstool.dir/version.c.o [ 38%] Linking C executable tkstool [ 38%] Built target tkstool Scanning dependencies of target pki-DRMTool-man-link [ 38%] Built target pki-DRMTool-man-link Scanning dependencies of target pki-tools-man WARNING: go-md2man does not handle node type HTMLSpan [ 38%] Built target pki-tools-man Scanning dependencies of target pki-DRMTool-cfg-link [ 38%] Built target pki-DRMTool-cfg-link Scanning dependencies of target pki-tools-classes [ 39%] Compiling Java sources for pki-tools-classes com/netscape/cmstools/CMCResponse.java:38: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated import org.apache.commons.cli.PosixParser; ^ com/netscape/cmstools/CMCSharedToken.java:30: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated import org.apache.commons.cli.PosixParser; ^ com/netscape/cmstools/CRMFPopClient.java:40: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated import org.apache.commons.cli.PosixParser; ^ com/netscape/cmstools/OCSPClient.java:32: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated import org.apache.commons.cli.PosixParser; ^ com/netscape/cmstools/cli/MainCLI.java:66: warning: [deprecation] ProxyCertCLI in com.netscape.cmstools.cert has been deprecated import com.netscape.cmstools.cert.ProxyCertCLI; ^ com/netscape/cmstools/cli/MainCLI.java:68: warning: [deprecation] ProxyGroupCLI in com.netscape.cmstools.group has been deprecated import com.netscape.cmstools.group.ProxyGroupCLI; ^ com/netscape/cmstools/cli/MainCLI.java:69: warning: [deprecation] ProxyKeyCLI in com.netscape.cmstools.key has been deprecated import com.netscape.cmstools.key.ProxyKeyCLI; ^ com/netscape/cmstools/cli/MainCLI.java:79: warning: [deprecation] ProxyUserCLI in com.netscape.cmstools.user has been deprecated import com.netscape.cmstools.user.ProxyUserCLI; ^ warning: unknown enum constant Include.NON_NULL reason: class file for com.fasterxml.jackson.annotation.JsonInclude$Include not found com/netscape/cmstools/CMCResponse.java:72: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated static CommandLineParser parser = new PosixParser(); ^ com/netscape/cmstools/CMCSharedToken.java:169: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated CommandLineParser parser = new PosixParser(); ^ com/netscape/cmstools/CRMFPopClient.java:288: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated CommandLineParser parser = new PosixParser(); ^ com/netscape/cmstools/OCSPClient.java:128: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated CommandLineParser parser = new PosixParser(); ^ com/netscape/cmstools/cli/MainCLI.java:109: warning: [deprecation] ProxyCertCLI in com.netscape.cmstools.cert has been deprecated addModule(new ProxyCertCLI(this)); ^ com/netscape/cmstools/cli/MainCLI.java:110: warning: [deprecation] ProxyGroupCLI in com.netscape.cmstools.group has been deprecated addModule(new ProxyGroupCLI(this)); ^ com/netscape/cmstools/cli/MainCLI.java:111: warning: [deprecation] ProxyKeyCLI in com.netscape.cmstools.key has been deprecated addModule(new ProxyKeyCLI(this)); ^ com/netscape/cmstools/cli/MainCLI.java:113: warning: [deprecation] ProxyUserCLI in com.netscape.cmstools.user has been deprecated addModule(new ProxyUserCLI(this)); ^ com/netscape/cmstools/pkcs12/PKCS12CertCLI.java:39: warning: [deprecation] PKCS12CertAddCLI in com.netscape.cmstools.pkcs12 has been deprecated addModule(new PKCS12CertAddCLI(this)); ^ 18 warnings [ 39%] Built target pki-tools-classes Scanning dependencies of target pki-tools-jar [ 39%] Packaging resources for pki-tools-jar [ 39%] Built target pki-tools-jar Scanning dependencies of target pki-DRMTool-link [ 39%] Built target pki-DRMTool-link Scanning dependencies of target pki-server-lib [ 39%] Built target pki-server-lib Scanning dependencies of target pki-server-common-lib [ 39%] Built target pki-server-common-lib Scanning dependencies of target pki-server-webapp-lib [ 39%] Built target pki-server-webapp-lib Scanning dependencies of target pki-tomcat-classes [ 40%] Compiling Java sources for pki-tomcat-classes com/netscape/cms/tomcat/ProxyRealm.java:194: warning: [deprecation] getRoles(Principal) in Realm has been deprecated public String[] getRoles(Principal principal) { ^ com/netscape/cms/tomcat/ProxyRealm.java:196: warning: [deprecation] getRoles(Principal) in Realm has been deprecated return realm.getRoles(principal); ^ 2 warnings [ 40%] Built target pki-tomcat-classes Scanning dependencies of target pki-tomcat-jar [ 40%] Packaging resources for pki-tomcat-jar [ 40%] Built target pki-tomcat-jar Scanning dependencies of target pki-server-classes [ 41%] Compiling Java sources for pki-server-classes src/com/netscape/cms/servlet/csadmin/BaseServlet.java:28: warning: [deprecation] VelocityServlet in org.apache.velocity.servlet has been deprecated import org.apache.velocity.servlet.VelocityServlet; ^ src/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/com/netscape/cms/shares/OldShare.java:23: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated import com.netscape.certsrv.kra.IShare; ^ warning: unknown enum constant Include.NON_NULL reason: class file for com.fasterxml.jackson.annotation.JsonInclude$Include not found src/com/netscape/cms/authentication/CMCAuth.java:925: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated pubK = PK11PubKey.fromRaw(keyType, ((X509Key) signKey).getKey()); ^ src/com/netscape/cms/authentication/CMCUserSignedAuth.java:632: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated selfsign_pubK = PK11PubKey.fromRaw(keyType, pubKey.getKey()); ^ src/com/netscape/cms/authentication/CMCUserSignedAuth.java:723: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated selfsign_pubK = PK11PubKey.fromRaw(keyType, publicKeyData); ^ src/com/netscape/cms/authentication/CMCUserSignedAuth.java:1105: warning: [deprecation] fromRaw(Type,byte[]) in PK11PubKey has been deprecated pubK = PK11PubKey.fromRaw(keyType, ((X509Key) signKey).getKey()); ^ src/com/netscape/cms/authorization/AAclAuthz.java:852: 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/com/netscape/cms/profile/constraint/ExternalProcessConstraint.java:155: warning: [deprecation] toString(InputStream) in IOUtils has been deprecated stdout = IOUtils.toString(p.getInputStream()); ^ src/com/netscape/cms/profile/constraint/ExternalProcessConstraint.java:156: warning: [deprecation] toString(InputStream) in IOUtils has been deprecated stderr = IOUtils.toString(p.getErrorStream()); ^ src/com/netscape/cms/servlet/csadmin/Configurator.java:2043: warning: [deprecation] PROP_CA_CERT_NICKNAME in ISigningUnit has been deprecated cs.putString(subsystem + "." + certTag + "." + ISigningUnit.PROP_CA_CERT_NICKNAME, nickname); ^ src/com/netscape/cmscore/security/JssSubsystem.java:172: warning: [deprecation] SSL3_RSA_WITH_RC4_128_MD5 in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_RC4_128_MD5, ^ src/com/netscape/cmscore/security/JssSubsystem.java:174: warning: [deprecation] SSL3_RSA_WITH_DES_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_DES_CBC_SHA, ^ src/com/netscape/cmscore/security/JssSubsystem.java:175: warning: [deprecation] SSL3_RSA_WITH_3DES_EDE_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_RSA_WITH_3DES_EDE_CBC_SHA, ^ src/com/netscape/cmscore/security/JssSubsystem.java:176: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA in SSLCipher has been deprecated SSLCipher.SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA, ^ src/com/netscape/cmscore/security/JssSubsystem.java:177: warning: [deprecation] SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA in SSLCipher has been deprecated SSLCipher.SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA, ^ src/com/netscape/cmscore/security/JssSubsystem.java:200: warning: [deprecation] SSL3_RSA_WITH_NULL_MD5 in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_NULL_MD5)); ^ src/com/netscape/cmscore/security/JssSubsystem.java:204: warning: [deprecation] SSL3_RSA_WITH_RC4_128_MD5 in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_RC4_128_MD5)); ^ src/com/netscape/cmscore/security/JssSubsystem.java:208: warning: [deprecation] SSL3_RSA_WITH_DES_CBC_SHA in SSLSocket has been deprecated Integer.valueOf(SSLSocket.SSL3_RSA_WITH_DES_CBC_SHA)); ^ src/com/netscape/cmscore/security/JssSubsystem.java:210: 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/com/netscape/cmscore/security/JssSubsystem.java:212: 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/com/netscape/cmscore/security/JssSubsystem.java:214: 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/com/netscape/cmscore/security/CASigningCert.java:137: warning: [deprecation] PROP_CA_CERT_NICKNAME in ISigningUnit has been deprecated cmsFileTmp.putString("ca.signing." + ISigningUnit.PROP_CA_CERT_NICKNAME, nickname); ^ src/com/netscape/cmscore/security/OCSPSigningCert.java:115: warning: [deprecation] PROP_CA_CERT_NICKNAME in ISigningUnit has been deprecated cmsFileTmp.putString("ca.signing." + ISigningUnit.PROP_CA_CERT_NICKNAME, nickname); ^ Note: src/com/netscape/cmscore/dbs/DBSSession.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 25 warnings [ 41%] Built target pki-server-classes Scanning dependencies of target pki-cms-jar [ 42%] Packaging resources for pki-cms-jar [ 42%] Built target pki-cms-jar Scanning dependencies of target pki-server-man WARNING: go-md2man does not handle node type HTMLSpan WARNING: go-md2man does not handle node type HTMLSpan WARNING: go-md2man does not handle node type HTMLSpan WARNING: go-md2man does not handle node type HTMLSpan [ 42%] Built target pki-server-man Scanning dependencies of target pki-cmsbundle-jar [ 42%] Packaging resources for pki-cmsbundle-jar [ 42%] Built target pki-cmsbundle-jar Scanning dependencies of target pki-server-test-classes [ 42%] Compiling Java sources for pki-server-test-classes [ 42%] Built target pki-server-test-classes Scanning dependencies of target test-pki-server [ 42%] Running JUnit test-pki-server TestRunner: Test PASSED TestRunner: See test reports in /builddir/build/BUILD/pki-10.8.3/build/base/server/test/reports [ 42%] Built target test-pki-server Scanning dependencies of target pki-healthcheck [ 42%] 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/__init__.py -> build/lib/pki/server/healthcheck/core copying pki/server/healthcheck/core/main.py -> build/lib/pki/server/healthcheck/core creating build/lib/pki/server/healthcheck/meta copying pki/server/healthcheck/meta/plugin.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 running install running build running build_py running install_lib creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8 creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/core copying build/lib/pki/server/healthcheck/core/__init__.py -> /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/core copying build/lib/pki/server/healthcheck/core/main.py -> /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/core creating /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/plugin.py -> /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/__init__.py -> /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/meta copying build/lib/pki/server/healthcheck/meta/csconfig.py -> /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/meta byte-compiling /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/core/__init__.py to __init__.cpython-38.pyc byte-compiling /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/core/main.py to main.cpython-38.pyc byte-compiling /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/meta/plugin.py to plugin.cpython-38.pyc byte-compiling /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/meta/__init__.py to __init__.cpython-38.pyc byte-compiling /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pki/server/healthcheck/meta/csconfig.py to csconfig.cpython-38.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.8.3/build/base/server/healthcheck/install/usr/lib/python3.8/site-packages/pkihealthcheck-0.1-py3.8.egg-info running install_scripts Installing pki-healthcheck script to /builddir/build/BUILD/pki-10.8.3/build/base/server/healthcheck/install/usr/bin [ 42%] Built target pki-healthcheck Scanning dependencies of target pki-ca-links [ 42%] Built target pki-ca-links Scanning dependencies of target pki-ca-classes [ 43%] Compiling Java sources for pki-ca-classes com/netscape/ca/SigningUnit.java:114: warning: [deprecation] PROP_CA_CERT_NICKNAME in ISigningUnit has been deprecated mConfig.putString(PROP_CA_CERT_NICKNAME, nickname); ^ com/netscape/ca/SigningUnit.java:144: warning: [deprecation] PROP_CA_CERT_NICKNAME in ISigningUnit has been deprecated mNickname = mConfig.getString(PROP_CA_CERT_NICKNAME); ^ 2 warnings [ 43%] Built target pki-ca-classes Scanning dependencies of target pki-ca-jar [ 43%] Packaging resources for pki-ca-jar [ 43%] Built target pki-ca-jar Scanning dependencies of target pki-kra-links [ 43%] Built target pki-kra-links Scanning dependencies of target pki-kra-classes [ 43%] Compiling Java sources for pki-kra-classes com/netscape/kra/StorageKeyUnit.java:65: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated import com.netscape.certsrv.kra.IJoinShares; ^ com/netscape/kra/StorageKeyUnit.java:66: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated import com.netscape.certsrv.kra.IShare; ^ com/netscape/kra/StorageKeyUnit.java:686: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated IShare s = null; ^ com/netscape/kra/StorageKeyUnit.java:690: warning: [deprecation] IShare in com.netscape.certsrv.kra has been deprecated s = (IShare) Class.forName(className).newInstance(); ^ com/netscape/kra/StorageKeyUnit.java:1032: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated IJoinShares j = null; ^ com/netscape/kra/StorageKeyUnit.java:1036: warning: [deprecation] IJoinShares in com.netscape.certsrv.kra has been deprecated j = (IJoinShares) Class.forName(className).newInstance(); ^ com/netscape/kra/SecurityDataProcessor.java:824: warning: [deprecation] getParameterClass() in Algorithm has been deprecated if (encAlg.getParameterClass().equals(IVParameterSpec.class)) { ^ com/netscape/kra/SecurityDataProcessor.java:826: warning: [deprecation] getParameterClass() in Algorithm has been deprecated } else if (encAlg.getParameterClass().equals( ^ 8 warnings [ 43%] Built target pki-kra-classes Scanning dependencies of target pki-kra-jar [ 44%] Packaging resources for pki-kra-jar [ 44%] Built target pki-kra-jar Scanning dependencies of target pki-ocsp-links [ 44%] Built target pki-ocsp-links Scanning dependencies of target pki-ocsp-classes [ 44%] Compiling Java sources for pki-ocsp-classes [ 44%] Built target pki-ocsp-classes Scanning dependencies of target pki-ocsp-jar [ 45%] Packaging resources for pki-ocsp-jar [ 45%] Built target pki-ocsp-jar Scanning dependencies of target pki-tks-links [ 45%] Built target pki-tks-links Scanning dependencies of target pki-tks-classes [ 46%] Compiling Java sources for pki-tks-classes [ 46%] Built target pki-tks-classes Scanning dependencies of target pki-tks-jar [ 46%] Packaging resources for pki-tks-jar [ 46%] Built target pki-tks-jar Scanning dependencies of target pki-tps-man [ 46%] Built target pki-tps-man Scanning dependencies of target pki-tps-links [ 46%] Built target pki-tps-links Scanning dependencies of target pki-tps-classes [ 47%] Compiling Java sources for pki-tps-classes [ 47%] Built target pki-tps-classes Scanning dependencies of target pki-tps-jar [ 47%] Packaging resources for pki-tps-jar [ 47%] Built target pki-tps-jar Scanning dependencies of target tokendb_library [ 47%] Building C object base/tps-client/src/tus/CMakeFiles/tokendb_library.dir/tus_db.c.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/pratom.h:14, from /usr/include/nspr4/nspr.h:9, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:33: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:56:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define TOKEN_ID "cn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:55:44: note: in expansion of macro 'TOKEN_ID' 55 | static char *tokenActivityAttributes[] = { TOKEN_ID, | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:83:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define TOKEN_CUID "tokenID" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:56:44: note: in expansion of macro 'TOKEN_CUID' 56 | TOKEN_CUID, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:85:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define TOKEN_OP "tokenOp" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:57:44: note: in expansion of macro 'TOKEN_OP' 57 | TOKEN_OP, | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:58:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define TOKEN_USER "tokenUserID" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:58:44: note: in expansion of macro 'TOKEN_USER' 58 | TOKEN_USER, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:87:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define TOKEN_MSG "tokenMsg" | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:59:44: note: in expansion of macro 'TOKEN_MSG' 59 | TOKEN_MSG, | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:89:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define TOKEN_RESULT "tokenResult" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:60:44: note: in expansion of macro 'TOKEN_RESULT' 60 | TOKEN_RESULT, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:91:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define TOKEN_IP "tokenIP" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:61:44: note: in expansion of macro 'TOKEN_IP' 61 | TOKEN_IP, | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:68:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define TOKEN_C_DATE "dateOfCreate" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:62:44: note: in expansion of macro 'TOKEN_C_DATE' 62 | TOKEN_C_DATE, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:70:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define TOKEN_M_DATE "dateOfModify" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:63:44: note: in expansion of macro 'TOKEN_M_DATE' 63 | TOKEN_M_DATE, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:103:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define TOKEN_TYPE "tokenType" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:64:44: note: in expansion of macro 'TOKEN_TYPE' 64 | TOKEN_TYPE, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:56:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define TOKEN_ID "cn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:66:36: note: in expansion of macro 'TOKEN_ID' 66 | static char *tokenAttributes[] = { TOKEN_ID, | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:58:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define TOKEN_USER "tokenUserID" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:67:36: note: in expansion of macro 'TOKEN_USER' 67 | TOKEN_USER, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:60:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define TOKEN_STATUS "tokenStatus" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:68:36: note: in expansion of macro 'TOKEN_STATUS' 68 | TOKEN_STATUS, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:62:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define TOKEN_APPLET "tokenAppletID" | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:69:36: note: in expansion of macro 'TOKEN_APPLET' 69 | TOKEN_APPLET, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:64:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define TOKEN_KEY_INFO "keyInfo" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:70:36: note: in expansion of macro 'TOKEN_KEY_INFO' 70 | TOKEN_KEY_INFO, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:66:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define TOKEN_MODS "modified" | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:71:36: note: in expansion of macro 'TOKEN_MODS' 71 | TOKEN_MODS, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:68:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define TOKEN_C_DATE "dateOfCreate" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:72:36: note: in expansion of macro 'TOKEN_C_DATE' 72 | TOKEN_C_DATE, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:70:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define TOKEN_M_DATE "dateOfModify" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:73:36: note: in expansion of macro 'TOKEN_M_DATE' 73 | TOKEN_M_DATE, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:72:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define TOKEN_RESETS "numberOfResets" | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:74:36: note: in expansion of macro 'TOKEN_RESETS' 74 | TOKEN_RESETS, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:74:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define TOKEN_ENROLLMENTS "numberOfEnrollments" | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:75:36: note: in expansion of macro 'TOKEN_ENROLLMENTS' 75 | TOKEN_ENROLLMENTS, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:76:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define TOKEN_RENEWALS "numberOfRenewals" | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:76:36: note: in expansion of macro 'TOKEN_RENEWALS' 76 | TOKEN_RENEWALS, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:78:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define TOKEN_RECOVERIES "numberOfRecoveries" | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:77:36: note: in expansion of macro 'TOKEN_RECOVERIES' 77 | TOKEN_RECOVERIES, | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:80:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define TOKEN_POLICY "tokenPolicy" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:78:36: note: in expansion of macro 'TOKEN_POLICY' 78 | TOKEN_POLICY, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:107:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | #define TOKEN_REASON "tokenReason" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:79:36: note: in expansion of macro 'TOKEN_REASON' 79 | TOKEN_REASON, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:103:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define TOKEN_TYPE "tokenType" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:80:36: note: in expansion of macro 'TOKEN_TYPE' 80 | TOKEN_TYPE, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:56:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define TOKEN_ID "cn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:82:47: note: in expansion of macro 'TOKEN_ID' 82 | static char *tokenCertificateAttributes[] = { TOKEN_ID, | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:83:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define TOKEN_CUID "tokenID" | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:83:47: note: in expansion of macro 'TOKEN_CUID' 83 | TOKEN_CUID, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:58:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define TOKEN_USER "tokenUserID" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:84:47: note: in expansion of macro 'TOKEN_USER' 84 | TOKEN_USER, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:60:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define TOKEN_STATUS "tokenStatus" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:85:47: note: in expansion of macro 'TOKEN_STATUS' 85 | TOKEN_STATUS, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:68:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define TOKEN_C_DATE "dateOfCreate" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:86:47: note: in expansion of macro 'TOKEN_C_DATE' 86 | TOKEN_C_DATE, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:70:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define TOKEN_M_DATE "dateOfModify" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:87:47: note: in expansion of macro 'TOKEN_M_DATE' 87 | TOKEN_M_DATE, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:95:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define TOKEN_SUBJECT "tokenSubject" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:88:47: note: in expansion of macro 'TOKEN_SUBJECT' 88 | TOKEN_SUBJECT, | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:97:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define TOKEN_ISSUER "tokenIssuer" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:89:47: note: in expansion of macro 'TOKEN_ISSUER' 89 | TOKEN_ISSUER, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:101:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define TOKEN_SERIAL "tokenSerial" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:90:47: note: in expansion of macro 'TOKEN_SERIAL' 90 | TOKEN_SERIAL, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:93:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define TOKEN_CERT "userCertificate" | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:91:47: note: in expansion of macro 'TOKEN_CERT' 91 | TOKEN_CERT, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:103:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define TOKEN_TYPE "tokenType" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:92:47: note: in expansion of macro 'TOKEN_TYPE' 92 | TOKEN_TYPE, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:109:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | #define TOKEN_NOT_BEFORE "tokenNotBefore" | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:93:47: note: in expansion of macro 'TOKEN_NOT_BEFORE' 93 | TOKEN_NOT_BEFORE, | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:111:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define TOKEN_NOT_AFTER "tokenNotAfter" | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:94:47: note: in expansion of macro 'TOKEN_NOT_AFTER' 94 | TOKEN_NOT_AFTER, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:105:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define TOKEN_KEY_TYPE "tokenKeyType" | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:95:47: note: in expansion of macro 'TOKEN_KEY_TYPE' 95 | TOKEN_KEY_TYPE, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:60:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define TOKEN_STATUS "tokenStatus" | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:96:47: note: in expansion of macro 'TOKEN_STATUS' 96 | TOKEN_STATUS, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:124:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | #define USER_ID "uid" | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:99:34: note: in expansion of macro 'USER_ID' 99 | static char *userAttributes[] = {USER_ID, | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:126:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define USER_SN "sn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:100:34: note: in expansion of macro 'USER_SN' 100 | USER_SN, | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:128:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define USER_GIVENNAME "givenName" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:101:34: note: in expansion of macro 'USER_GIVENNAME' 101 | USER_GIVENNAME, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:127:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define USER_CN "cn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:102:34: note: in expansion of macro 'USER_CN' 102 | USER_CN, | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:129:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define USER_CERT "userCertificate" | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:103:34: note: in expansion of macro 'USER_CERT' 103 | USER_CERT, | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:122:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define C_TIME "createTimeStamp" | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:104:34: note: in expansion of macro 'C_TIME' 104 | C_TIME, | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:123:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | #define M_TIME "modifyTimeStamp" | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:105:34: note: in expansion of macro 'M_TIME' 105 | M_TIME, | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:130:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define PROFILE_ID "profileID" | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:106:34: note: in expansion of macro 'PROFILE_ID' 106 | PROFILE_ID, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:124:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | #define USER_ID "uid" | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:109:38: note: in expansion of macro 'USER_ID' 109 | static char *viewUserAttributes[] = {USER_ID, | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:126:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define USER_SN "sn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:110:38: note: in expansion of macro 'USER_SN' 110 | USER_SN, | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:127:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define USER_CN "cn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:111:38: note: in expansion of macro 'USER_CN' 111 | USER_CN, | ^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:122:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define C_TIME "createTimeStamp" | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:112:38: note: in expansion of macro 'C_TIME' 112 | C_TIME, | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:123:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | #define M_TIME "modifyTimeStamp" | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:113:38: note: in expansion of macro 'M_TIME' 113 | M_TIME, | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:114:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | #define STATE_UNINITIALIZED "uninitialized" | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:116:32: note: in expansion of macro 'STATE_UNINITIALIZED' 116 | static char *tokenStates[] = { STATE_UNINITIALIZED, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:116:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | #define STATE_ACTIVE "active" | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:117:32: note: in expansion of macro 'STATE_ACTIVE' 117 | STATE_ACTIVE, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:118:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | #define STATE_DISABLED "disabled" | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:118:32: note: in expansion of macro 'STATE_DISABLED' 118 | STATE_DISABLED, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:152:16: warning: no previous prototype for 'valid_berval' [-Wmissing-prototypes] 152 | TPS_PUBLIC int valid_berval(struct berval **b) | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:164:17: warning: no previous prototype for 'set_tus_db_hostport' [-Wmissing-prototypes] 164 | TPS_PUBLIC void set_tus_db_hostport(char *name) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:202:17: warning: no previous prototype for 'set_tus_db_userBaseDN' [-Wmissing-prototypes] 202 | TPS_PUBLIC void set_tus_db_userBaseDN(char *dn) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:213:17: warning: no previous prototype for 'set_tus_db_activityBaseDN' [-Wmissing-prototypes] 213 | TPS_PUBLIC void set_tus_db_activityBaseDN(char *dn) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:224:17: warning: no previous prototype for 'set_tus_db_certBaseDN' [-Wmissing-prototypes] 224 | TPS_PUBLIC void set_tus_db_certBaseDN(char *dn) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:259:16: warning: no previous prototype for 'is_tus_db_initialized' [-Wmissing-prototypes] 259 | TPS_PUBLIC int is_tus_db_initialized() | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'get_tus_db_config': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:569:19: warning: declaration of 'p' shadows a previous local [-Wshadow] 569 | char *p = NULL; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:269:16: note: shadowed declaration is here 269 | int k, n, p; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:570:38: warning: passing argument 2 of 'get_pwd_from_conf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 570 | p = get_pwd_from_conf(s, "tokendbBindPass"); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:149:47: note: expected 'char *' but argument is of type 'const char *' 149 | char *get_pwd_from_conf(char *filepath, char *name); | ~~~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:883:12: warning: 'tus_check_conn' was used with no prototype before its definition [-Wmissing-prototypes] 883 | static int tus_check_conn() | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'tus_db_init': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:933:35: warning: unused parameter 'errorMsg' [-Wunused-parameter] 933 | TPS_PUBLIC int tus_db_init(char **errorMsg) | ~~~~~~~^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:938:17: warning: no previous prototype for 'tus_db_end' [-Wmissing-prototypes] 938 | TPS_PUBLIC void tus_db_end() | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:948:17: warning: no previous prototype for 'tus_db_cleanup' [-Wmissing-prototypes] 948 | TPS_PUBLIC void tus_db_cleanup() | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1072:8: warning: no previous prototype for 'parse_number_change' [-Wmissing-prototypes] 1072 | char **parse_number_change(int n) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_cert_status': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1099:58: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1099 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, certBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1129:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1129 | mods[1]->mod_type = "tokenStatus"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_token_policy': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1166:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1166 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_tus_db_entry_with_mods': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1232:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1232 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1225:59: warning: unused parameter 'agentid' [-Wunused-parameter] 1225 | TPS_PUBLIC int update_tus_db_entry_with_mods (const char *agentid, const char *cn, LDAPMod **mods) | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1265:5: warning: no previous prototype for 'update_tus_general_db_entry' [-Wmissing-prototypes] 1265 | int update_tus_general_db_entry(const char *agentid, const char *dn, LDAPMod **mods) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_tus_general_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1265:45: warning: unused parameter 'agentid' [-Wunused-parameter] 1265 | int update_tus_general_db_entry(const char *agentid, const char *dn, LDAPMod **mods) | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_user_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1318:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1318 | a01.mod_type = USER_SN; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1322:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1322 | a02.mod_type = USER_CN; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1326:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1326 | a03.mod_type = USER_GIVENNAME; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1354:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1354 | a04.mod_type = "userCertificate"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1364:72: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1364 | if (PR_snprintf(dn, 255, "uid=%s, ou=People, %s", uid, userBaseDN) < 0 ) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_tus_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1385:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1385 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1439:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1439 | mods[k]->mod_type = "tokenUserID"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1443:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1443 | v[0] = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1477:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1477 | mods[k]->mod_type = "tokenReason"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1481:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1481 | v[0] = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1503:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1503 | v[0] = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1522:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1522 | mods[k]->mod_type = TOKEN_TYPE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1526:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1526 | v[0] = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1375:49: warning: unused parameter 'agentid' [-Wunused-parameter] 1375 | TPS_PUBLIC int update_tus_db_entry (const char *agentid, char *cn, const char *uid, char *keyInfo, const char *status, char *applet_version, const char *reason, const char* token_type) | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'check_and_modify_tus_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1563:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1563 | struct berval check_ber; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1568:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1568 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1579:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1579 | struct berval credential; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'modify_tus_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1631:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1631 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'add_certificate': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1704:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1704 | char *objectClass_values[] = { "top", "tokenCert", NULL }; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1704:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1704 | char *objectClass_values[] = { "top", "tokenCert", NULL }; | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1733:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1733 | a01.mod_type = TOKEN_ID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1737:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1737 | a02.mod_type = "objectClass"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1743:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1743 | a03.mod_type = TOKEN_C_DATE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1747:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1747 | a04.mod_type = TOKEN_M_DATE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1753:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1753 | a05.mod_type = TOKEN_CUID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1759:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1759 | a06.mod_type = TOKEN_USER; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1768:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1768 | a07.mod_type = TOKEN_CERT; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1774:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1774 | a08.mod_type = TOKEN_SUBJECT; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1780:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1780 | a09.mod_type = TOKEN_ISSUER; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1786:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1786 | a10.mod_type = TOKEN_SERIAL; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1792:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1792 | a11.mod_type = TOKEN_TYPE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1798:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1798 | a12.mod_type = TOKEN_KEY_TYPE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1804:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1804 | a13.mod_type = TOKEN_STATUS; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1817:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1817 | a14.mod_type = TOKEN_NOT_BEFORE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1828:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1828 | a15.mod_type = TOKEN_NOT_AFTER; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1834:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1834 | a16.mod_type = TOKEN_ORIGIN; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1855:69: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1855 | if (PR_snprintf(dn, 2048, "cn=%s,%s", cn_values[0], certBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1701:15: warning: variable 'ct' set but not used [-Wunused-but-set-variable] 1701 | PRThread *ct; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'add_activity': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1896:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1896 | char *objectClass_values[] = { "top", "tokenActivity", NULL }; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1896:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1896 | char *objectClass_values[] = { "top", "tokenActivity", NULL }; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1939:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1939 | a01.mod_type = TOKEN_ID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1943:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1943 | a02.mod_type = "objectClass"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1949:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1949 | a03.mod_type = TOKEN_C_DATE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1953:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1953 | a04.mod_type = TOKEN_M_DATE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1957:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1957 | a05.mod_type = TOKEN_CUID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1961:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1961 | a06.mod_type = TOKEN_OP; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1965:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1965 | a07.mod_type = TOKEN_MSG; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1969:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1969 | a08.mod_type = TOKEN_RESULT; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1973:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1973 | a09.mod_type = TOKEN_IP; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1977:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1977 | a10.mod_type = TOKEN_USER; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1981:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1981 | a11.mod_type = TOKEN_TYPE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:1996:66: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1996 | if (PR_snprintf(dn, 255, "cn=%s,%s", zcdate, activityBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2024:5: warning: no previous prototype for 'add_tus_general_db_entry' [-Wmissing-prototypes] 2024 | int add_tus_general_db_entry (char *dn, LDAPMod **mods) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'add_tus_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2054:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2054 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'add_new_tus_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2100:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2100 | char *objectClass_values[] = { "top", "tokenRecord", NULL }; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2100:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2100 | char *objectClass_values[] = { "top", "tokenRecord", NULL }; | ^~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2102:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2102 | char *modified_values[] = { "0", NULL }; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2103:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2103 | char *uid_values[] = { "", NULL }; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2104:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2104 | char *status_values[] = { "", NULL }; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2105 | char *aid_values[] = { "", NULL }; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2106:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2106 | char *resets_values[] = { "0", NULL }; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2107:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2107 | char *enrollments_values[] = { "0", NULL }; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2108:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2108 | char *renewals_values[] = { "0", NULL }; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2109:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2109 | char *recoveries_values[] = { "0", NULL }; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2110:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2110 | char *key_info_values[] = { "", NULL }; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2111:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2111 | char *reason_values[] = { "", NULL }; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2113:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2113 | char *token_type_values[]= {"", NULL }; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2128:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2128 | a01.mod_type = TOKEN_ID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2132:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2132 | a02.mod_type = "objectClass"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2138:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2138 | a03.mod_type = TOKEN_C_DATE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2142:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2142 | a04.mod_type = TOKEN_M_DATE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2146:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2146 | a05.mod_type = TOKEN_MODS; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2150:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2150 | a06.mod_type = TOKEN_USER; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2154:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2154 | a07.mod_type = TOKEN_STATUS; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2158:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2158 | a08.mod_type = TOKEN_APPLET; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2165:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2165 | a09.mod_type = TOKEN_RESETS; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2169:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2169 | a10.mod_type = TOKEN_ENROLLMENTS; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2173:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2173 | a11.mod_type = TOKEN_RENEWALS; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2177:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2177 | a12.mod_type = TOKEN_RECOVERIES; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2181:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2181 | a13.mod_type = TOKEN_KEY_INFO; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2185:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2185 | a14.mod_type = TOKEN_POLICY; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2189:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2189 | a15.mod_type = TOKEN_REASON; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2193:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2193 | a16.mod_type = TOKEN_TYPE; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2221:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2221 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2075:78: warning: unused parameter 'flag' [-Wunused-parameter] 2075 | int add_new_tus_db_entry (const char *userid, char *cn, const char *uid, int flag, const char *status, char *applet_version, char *key_info, const char* token_type) | ~~~~^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'add_user_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2275:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2275 | char *objectClass_values[] = { "top", "person", "organizationalPerson", "inetOrgPerson", "tpsProfileId", NULL }; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2275:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2275 | char *objectClass_values[] = { "top", "person", "organizationalPerson", "inetOrgPerson", "tpsProfileId", NULL }; | ^~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2275:53: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2275 | char *objectClass_values[] = { "top", "person", "organizationalPerson", "inetOrgPerson", "tpsProfileId", NULL }; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2275:77: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2275 | char *objectClass_values[] = { "top", "person", "organizationalPerson", "inetOrgPerson", "tpsProfileId", NULL }; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2275:94: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2275 | char *objectClass_values[] = { "top", "person", "organizationalPerson", "inetOrgPerson", "tpsProfileId", NULL }; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2284:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2284 | a01.mod_type = USER_ID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2288:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2288 | a02.mod_type = "objectClass"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2292:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2292 | a03.mod_type = USER_PASSWORD; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2296:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2296 | a04.mod_type = USER_SN; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2300:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2300 | a05.mod_type = USER_CN; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2304:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2304 | a06.mod_type = USER_GIVENNAME; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2338:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2338 | a07.mod_type = USER_CERT; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2355:74: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2355 | if (PR_snprintf(dn, 255, "uid=%s,ou=People, %s", userid, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'add_user_to_role_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2386:79: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2386 | if (PR_snprintf(userdn, 255, "uid=%s, ou=People, %s", userid, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2393:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2393 | a01.mod_type = GROUP_MEMBER; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2398:75: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2398 | if (PR_snprintf(dn, 255, "cn=TUS %s,ou=groups, %s", role, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'delete_user_from_role_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2427:79: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2427 | if (PR_snprintf(userdn, 255, "uid=%s, ou=People, %s", userid, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2434:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2434 | a01.mod_type = GROUP_MEMBER; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2439:75: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2439 | if (PR_snprintf(dn, 255, "cn=TUS %s,ou=groups, %s", role, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'delete_profile_from_user': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2467:75: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2467 | if (PR_snprintf(dn, 255, "uid=%s, ou=People, %s", userid, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2471:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2471 | a01.mod_type = PROFILE_ID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'delete_all_profiles_from_user': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2501:75: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2501 | if (PR_snprintf(dn, 255, "uid=%s, ou=People, %s", userid, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2505:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2505 | a01.mod_type = PROFILE_ID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'add_profile_to_user': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2536:75: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2536 | if (PR_snprintf(dn, 255, "uid=%s, ou=People, %s", userid, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2540:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2540 | a01.mod_type = PROFILE_ID; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'delete_tus_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2560:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2560 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'delete_user_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2621:70: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2621 | if (PR_snprintf(dn, 255, "uid=%s,ou=People,%s", uid, userBaseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_db_entry': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2642:54: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 2642 | if (PR_snprintf(dn, 255, "cn=%s,%s", cn, baseDN) < 0) | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2658:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2658 | if (debug_fd) | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2660:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2660 | struct berval credential; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2660:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2633:49: warning: unused parameter 'max' [-Wunused-parameter] 2633 | TPS_PUBLIC int find_tus_db_entry (char *cn, int max, LDAPMessage **result) | ~~~~^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_db_entries': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2701:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2701 | ldap_create_sort_keylist(&sortKeyList, "-dateOfModify"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_db_entries_pcontrol_1': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2747:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2747 | ldap_create_sort_keylist(&sortKeyList, "-dateOfModify"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'ldap_multisort_entries': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2836:41: warning: declaration of 'ld' shadows a global declaration [-Wshadow] 2836 | static int ldap_multisort_entries(LDAP *ld, LDAPMessage **chain, char **attr, LDAP_SORT_AD_CMP_PROC *cmp) | ~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:141:14: note: shadowed declaration is here 141 | static LDAP *ld = NULL; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'ldap_sort_entries': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:2928:36: warning: declaration of 'ld' shadows a global declaration [-Wshadow] 2928 | static int ldap_sort_entries(LDAP *ld, LDAPMessage **result, const char* attr, LDAP_SORT_AD_CMP_PROC *cmp) | ~~~~~~^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:141:14: note: shadowed declaration is here 141 | static LDAP *ld = NULL; | ^~ In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_user_role_entries': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:132:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define SUBGROUP_ID "cn" | ^~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3019:31: note: in expansion of macro 'SUBGROUP_ID' 3019 | char *subgroup_attrs[] = {SUBGROUP_ID, NULL}; | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_token_entries': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3098:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3098 | ldap_create_sort_keylist(&sortKeyList, "-dateOfCreate"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_token_status_reason_userid': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3188:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3188 | v[0] = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3204:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3204 | mods[3]->mod_type = "tokenUserID"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3208:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3208 | v[0] = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3221:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3221 | mods[4]->mod_type = "dateOfCreate"; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'update_token_status_reason': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3288:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3288 | v[0] = ""; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'tus_has_active_tokens': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3323:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3323 | ldap_create_sort_keylist(&sortKeyList, "-dateOfCreate"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_certificate_entries_by_order': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3428:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3428 | ldap_create_sort_keylist(&sortKeyList, "-dateOfCreate"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_certificate_entries': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3478:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3478 | ldap_create_sort_keylist(&sortKeyList, "-dateOfCreate"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_activity_entries': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3527:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3527 | ldap_create_sort_keylist(&sortKeyList, "-dateOfCreate"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'find_tus_activity_entries_pcontrol_1': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3572:44: warning: passing argument 2 of 'ldap_create_sort_keylist' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3572 | ldap_create_sort_keylist(&sortKeyList, "-dateOfCreate"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/lber_types.h:24, from /usr/include/lber.h:29, from /usr/include/ldap.h:30, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:46, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:53: /usr/include/ldap.h:2151:26: note: expected 'char *' but argument is of type 'const char *' 2151 | ldap_create_sort_keylist LDAP_P(( | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3646:19: warning: no previous prototype for 'get_token_states' [-Wmissing-prototypes] 3646 | TPS_PUBLIC char **get_token_states() | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3651:19: warning: no previous prototype for 'get_certificate_attributes' [-Wmissing-prototypes] 3651 | TPS_PUBLIC char **get_certificate_attributes() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3656:19: warning: no previous prototype for 'get_activity_attributes' [-Wmissing-prototypes] 3656 | TPS_PUBLIC char **get_activity_attributes() | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3661:19: warning: no previous prototype for 'get_token_attributes' [-Wmissing-prototypes] 3661 | TPS_PUBLIC char **get_token_attributes() | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3666:19: warning: no previous prototype for 'get_user_attributes' [-Wmissing-prototypes] 3666 | TPS_PUBLIC char **get_user_attributes() | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3671:19: warning: no previous prototype for 'get_view_user_attributes' [-Wmissing-prototypes] 3671 | TPS_PUBLIC char **get_view_user_attributes() | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3772:18: warning: no previous prototype for 'get_token_users_name' [-Wmissing-prototypes] 3772 | TPS_PUBLIC char *get_token_users_name() | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3782:7: warning: no previous prototype for 'get_token_id_name' [-Wmissing-prototypes] 3782 | char *get_token_id_name() | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3807:5: warning: no previous prototype for 'get_cert_attr_byname_int' [-Wmissing-prototypes] 3807 | int get_cert_attr_byname_int(LDAPMessage *entry, const char *name) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3867:7: warning: no previous prototype for 'get_token_status_name' [-Wmissing-prototypes] 3867 | char *get_token_status_name() | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3872:18: warning: no previous prototype for 'get_reason_name' [-Wmissing-prototypes] 3872 | TPS_PUBLIC char *get_reason_name() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3877:18: warning: no previous prototype for 'get_policy_name' [-Wmissing-prototypes] 3877 | TPS_PUBLIC char *get_policy_name() | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3887:7: warning: no previous prototype for 'get_applet_id_name' [-Wmissing-prototypes] 3887 | char *get_applet_id_name() | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3897:7: warning: no previous prototype for 'get_key_info_name' [-Wmissing-prototypes] 3897 | char *get_key_info_name() | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3907:7: warning: no previous prototype for 'get_creation_date_name' [-Wmissing-prototypes] 3907 | char *get_creation_date_name() | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3917:7: warning: no previous prototype for 'get_modification_date_name' [-Wmissing-prototypes] 3917 | char *get_modification_date_name() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3927:7: warning: no previous prototype for 'get_number_of_modifications_name' [-Wmissing-prototypes] 3927 | char *get_number_of_modifications_name() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3948:7: warning: no previous prototype for 'get_number_of_resets_name' [-Wmissing-prototypes] 3948 | char *get_number_of_resets_name() | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3958:7: warning: no previous prototype for 'get_number_of_enrollments_name' [-Wmissing-prototypes] 3958 | char *get_number_of_enrollments_name() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3968:7: warning: no previous prototype for 'get_number_of_renewals_name' [-Wmissing-prototypes] 3968 | char *get_number_of_renewals_name() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:3978:7: warning: no previous prototype for 'get_number_of_recoveries_name' [-Wmissing-prototypes] 3978 | char *get_number_of_recoveries_name() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:4050:16: warning: no previous prototype for 'allow_token_enroll_policy' [-Wmissing-prototypes] 4050 | TPS_PUBLIC int allow_token_enroll_policy(char *cn, const char *policy) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'is_tus_db_entry_disabled': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:4223:45: warning: passing argument 1 of 'PL_strcasecmp' from incompatible pointer type [-Wincompatible-pointer-types] 4223 | !PL_strcasecmp(v[0], STATE_UNINITIALIZED)) { | ~^~~ | | | struct berval * In file included from /usr/include/nss3/secport.h:52, from /usr/include/nss3/seccomon.h:27, from /usr/include/nss3/pk11pub.h:7, from /usr/include/nss3/pk11func.h:12, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:34: /usr/include/nspr4/plstr.h:214:27: note: expected 'const char *' but argument is of type 'struct berval *' 214 | PL_strcasecmp(const char *a, const char *b); | ~~~~~~~~~~~~^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: At top level: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:4324:19: warning: no previous prototype for 'create_modification_date_change' [-Wmissing-prototypes] 4324 | TPS_PUBLIC char **create_modification_date_change() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'ReadLine': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:4347:51: warning: unused parameter 'buf_len' [-Wunused-parameter] 4347 | static int ReadLine(PRFileDesc *f, char *buf, int buf_len, int *removed_return) | ~~~~^~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c: In function 'get_pwd_from_conf': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/tus/tus_db.c:4398:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4398 | int c = 0; | ^~~ [ 48%] Linking C shared library libtokendb.so [ 48%] Built target tokendb_library Scanning dependencies of target tps_library [ 48%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/Buffer.cpp.o [ 49%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/NameValueSet.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/NameValueSet.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/NameValueSet.cpp:28: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/NameValueSet.cpp:23: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 49%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/ConfigStore.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/ConfigStore.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/ConfigStore.cpp:29: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/ConfigStore.cpp:24: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 50%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/Util.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Util.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Util.cpp:25: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Util.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Util.cpp: In static member function 'static PK11SymKey* Util::DiversifyKey(PK11SymKey*, Buffer&, PK11SlotInfo*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Util.cpp:529:14: warning: variable 'status' set but not used [-Wunused-but-set-variable] 529 | PRStatus status = PR_FAILURE ; | ^~~~~~ [ 50%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/RA_Msg.cpp.o [ 51%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/RA_pblock.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/RA_pblock.cpp:33: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/RA_pblock.cpp:26: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 51%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/RA_Session.cpp.o [ 52%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/RA_Context.cpp.o [ 52%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/Login.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Base.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Login.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Login.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 53%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/SecureId.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/SecureId.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/SecureId.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/SecureId.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 53%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/Memory.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/MemoryMgr.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Memory.cpp:32: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/Memory.cpp:24: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 54%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/AuthenticationEntry.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/AuthenticationEntry.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/AuthenticationEntry.cpp:25: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/AuthenticationEntry.cpp:24: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 54%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/AuthParams.cpp.o [ 55%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/Authentication.cpp.o [ 55%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/AttributeSpec.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Buffer.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/AttributeSpec.cpp:24: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/AttributeSpec.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 56%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/ObjectSpec.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Buffer.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/ObjectSpec.cpp:24: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/ObjectSpec.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 56%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/PKCS11Obj.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/PKCS11Obj.cpp:25: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/PKCS11Obj.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 57%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/LogFile.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/ConfigStore.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/LogFile.cpp:48: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/LogFile.cpp:39: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 57%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/main/RollingLogFile.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/ConfigStore.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/RollingLogFile.cpp:47: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/main/RollingLogFile.cpp:38: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 58%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/httpClient/httpClient.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Base.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/httpClient.cpp:31: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/pratom.h:14, from /usr/include/nspr4/nspr.h:9, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/httpClient.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | In file included from /usr/include/string.h:495, from /usr/include/nss3/secport.h:45, from /usr/include/nss3/seccomon.h:27, from /usr/include/nss3/pk11pub.h:7, from /usr/include/nss3/pk11func.h:12, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:39, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/httpClient.cpp:37: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'PSHttpResponse* httpSend(char*, char*, char*, char*)' at /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/httpClient.cpp:66:16: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 58%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/httpClient/Cache.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/httpClient/httpc/PSCommonLib.h:37, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/Cache.cpp:41: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plarena.h:15, from /usr/include/nss3/pk11pub.h:6, from /usr/include/nss3/pk11func.h:12, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/Cache.cpp:30: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 59%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/httpClient/engine.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/httpClient/httpc/engine.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/engine.cpp:34: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/pratom.h:14, from /usr/include/nspr4/nspr.h:9, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/engine.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 60%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/httpClient/http.cpp.o [ 60%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/httpClient/response.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/response.cpp:31: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/pratom.h:14, from /usr/include/nspr4/nspr.h:9, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/response.cpp:30: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/response.cpp: In destructor 'virtual PSHttpResponse::~PSHttpResponse()': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/response.cpp:439:13: warning: deleting object of abstract class type 'Iterator' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 439 | delete iterator; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/response.cpp: In member function 'virtual PRBool PSHttpResponse::processResponse()': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/response.cpp:1001:18: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1001 | char ch; | ^~ [ 61%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/httpClient/request.cpp.o /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/request.cpp: In member function 'PRBool PSHttpRequest::useLocalFileAsBody(const char*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/httpClient/request.cpp:212:12: warning: variable 'res' set but not used [-Wunused-but-set-variable] 212 | PRBool res = PR_FALSE; | ^~~ [ 61%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/httpClient/nscperror.cpp.o [ 62%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/cms/HttpConnection.cpp.o In file included from /usr/include/string.h:495, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/HttpConnection.cpp:23: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'PSHttpResponse* HttpConnection::getResponse(int, const char*, const char*)' at /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/HttpConnection.cpp:148:16: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 62%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/cms/ConnectionInfo.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/cms/ConnectionInfo.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/ConnectionInfo.cpp:25: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/ConnectionInfo.cpp:24: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 63%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/cms/CertEnroll.cpp.o /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:65:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | { "prime192v1", SEC_OID_ANSIX962_EC_PRIME192V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:66:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | { "prime192v2", SEC_OID_ANSIX962_EC_PRIME192V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:67:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | { "prime192v3", SEC_OID_ANSIX962_EC_PRIME192V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:68:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | { "prime239v1", SEC_OID_ANSIX962_EC_PRIME239V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:69:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | { "prime239v2", SEC_OID_ANSIX962_EC_PRIME239V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:70:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | { "prime239v3", SEC_OID_ANSIX962_EC_PRIME239V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:71:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | { "prime256v1", SEC_OID_ANSIX962_EC_PRIME256V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:73:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | { "secp112r1", SEC_OID_SECG_EC_SECP112R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:74:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | { "secp112r2", SEC_OID_SECG_EC_SECP112R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:75:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | { "secp128r1", SEC_OID_SECG_EC_SECP128R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:76:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | { "secp128r2", SEC_OID_SECG_EC_SECP128R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:77:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | { "secp160k1", SEC_OID_SECG_EC_SECP160K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:78:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | { "secp160r1", SEC_OID_SECG_EC_SECP160R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:79:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | { "secp160r2", SEC_OID_SECG_EC_SECP160R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:80:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | { "secp192k1", SEC_OID_SECG_EC_SECP192K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:81:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | { "secp192r1", SEC_OID_ANSIX962_EC_PRIME192V1 }, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:82:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | { "nistp192", SEC_OID_ANSIX962_EC_PRIME192V1 }, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:83:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | { "secp224k1", SEC_OID_SECG_EC_SECP224K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:84:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | { "secp224r1", SEC_OID_SECG_EC_SECP224R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | { "nistp224", SEC_OID_SECG_EC_SECP224R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:86:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | { "secp256k1", SEC_OID_SECG_EC_SECP256K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:87:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | { "secp256r1", SEC_OID_ANSIX962_EC_PRIME256V1 }, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:88:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | { "nistp256", SEC_OID_ANSIX962_EC_PRIME256V1 }, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:89:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | { "secp384r1", SEC_OID_SECG_EC_SECP384R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | { "nistp384", SEC_OID_SECG_EC_SECP384R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:91:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | { "secp521r1", SEC_OID_SECG_EC_SECP521R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:92:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | { "nistp521", SEC_OID_SECG_EC_SECP521R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:94:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | { "c2pnb163v1", SEC_OID_ANSIX962_EC_C2PNB163V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:95:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | { "c2pnb163v2", SEC_OID_ANSIX962_EC_C2PNB163V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | { "c2pnb163v3", SEC_OID_ANSIX962_EC_C2PNB163V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:97:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | { "c2pnb176v1", SEC_OID_ANSIX962_EC_C2PNB176V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:98:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | { "c2tnb191v1", SEC_OID_ANSIX962_EC_C2TNB191V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:99:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | { "c2tnb191v2", SEC_OID_ANSIX962_EC_C2TNB191V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:100:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | { "c2tnb191v3", SEC_OID_ANSIX962_EC_C2TNB191V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:101:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | { "c2onb191v4", SEC_OID_ANSIX962_EC_C2ONB191V4 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:102:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | { "c2onb191v5", SEC_OID_ANSIX962_EC_C2ONB191V5 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:103:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | { "c2pnb208w1", SEC_OID_ANSIX962_EC_C2PNB208W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:104:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | { "c2tnb239v1", SEC_OID_ANSIX962_EC_C2TNB239V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | { "c2tnb239v2", SEC_OID_ANSIX962_EC_C2TNB239V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:106:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | { "c2tnb239v3", SEC_OID_ANSIX962_EC_C2TNB239V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:107:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | { "c2onb239v4", SEC_OID_ANSIX962_EC_C2ONB239V4 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:108:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | { "c2onb239v5", SEC_OID_ANSIX962_EC_C2ONB239V5 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:109:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | { "c2pnb272w1", SEC_OID_ANSIX962_EC_C2PNB272W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:110:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | { "c2pnb304w1", SEC_OID_ANSIX962_EC_C2PNB304W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:111:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | { "c2tnb359v1", SEC_OID_ANSIX962_EC_C2TNB359V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:112:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | { "c2pnb368w1", SEC_OID_ANSIX962_EC_C2PNB368W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:113:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | { "c2tnb431r1", SEC_OID_ANSIX962_EC_C2TNB431R1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:115:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | { "sect113r1", SEC_OID_SECG_EC_SECT113R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:116:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | { "sect113r2", SEC_OID_SECG_EC_SECT113R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:117:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | { "sect131r1", SEC_OID_SECG_EC_SECT131R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:118:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | { "sect131r2", SEC_OID_SECG_EC_SECT131R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:119:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | { "sect163k1", SEC_OID_SECG_EC_SECT163K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:120:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | { "nistk163", SEC_OID_SECG_EC_SECT163K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:121:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { "sect163r1", SEC_OID_SECG_EC_SECT163R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:122:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { "sect163r2", SEC_OID_SECG_EC_SECT163R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:123:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | { "nistb163", SEC_OID_SECG_EC_SECT163R2}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:124:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | { "sect193r1", SEC_OID_SECG_EC_SECT193R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:125:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | { "sect193r2", SEC_OID_SECG_EC_SECT193R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:126:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | { "sect233k1", SEC_OID_SECG_EC_SECT233K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:127:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | { "nistk233", SEC_OID_SECG_EC_SECT233K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:128:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | { "sect233r1", SEC_OID_SECG_EC_SECT233R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:129:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | { "nistb233", SEC_OID_SECG_EC_SECT233R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:130:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | { "sect239k1", SEC_OID_SECG_EC_SECT239K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:131:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | { "sect283k1", SEC_OID_SECG_EC_SECT283K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:132:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | { "nistk283", SEC_OID_SECG_EC_SECT283K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:133:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | { "sect283r1", SEC_OID_SECG_EC_SECT283R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:134:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | { "nistb283", SEC_OID_SECG_EC_SECT283R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:135:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | { "sect409k1", SEC_OID_SECG_EC_SECT409K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:136:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | { "nistk409", SEC_OID_SECG_EC_SECT409K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:137:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | { "sect409r1", SEC_OID_SECG_EC_SECT409R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:138:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | { "nistb409", SEC_OID_SECG_EC_SECT409R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:139:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | { "sect571k1", SEC_OID_SECG_EC_SECT571K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:140:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | { "nistk571", SEC_OID_SECG_EC_SECT571K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:141:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | { "sect571r1", SEC_OID_SECG_EC_SECT571R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:142:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | { "nistb571", SEC_OID_SECG_EC_SECT571R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp: In member function 'SECKEYPublicKey* CertEnroll::ParsePublicKeyBlob(unsigned char*, Buffer*, bool)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:865:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 865 | proofb_len = (unsigned short) (len0 << 8 | len1 & 0xFF); | ~~~~~^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp: At global scope: /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/cms/CertEnroll.cpp:1004:1: warning: 'SECStatus ListModules()' defined but not used [-Wunused-function] 1004 | ListModules(void) | ^~~~~~~~~~~ [ 63%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/APDU.cpp.o [ 64%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Unblock_Pin_APDU.cpp.o [ 64%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Create_Object_APDU.cpp.o [ 65%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Set_Pin_APDU.cpp.o [ 65%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Set_IssuerInfo_APDU.cpp.o [ 66%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Get_IssuerInfo_APDU.cpp.o [ 66%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Create_Pin_APDU.cpp.o [ 67%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/List_Pins_APDU.cpp.o [ 67%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Initialize_Update_APDU.cpp.o [ 68%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Get_Version_APDU.cpp.o [ 68%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Get_Status_APDU.cpp.o [ 69%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Get_Data_APDU.cpp.o [ 69%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/External_Authenticate_APDU.cpp.o [ 70%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Generate_Key_APDU.cpp.o [ 70%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Generate_Key_ECC_APDU.cpp.o [ 71%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Read_Buffer_APDU.cpp.o [ 72%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Read_Object_APDU.cpp.o [ 72%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Write_Object_APDU.cpp.o [ 73%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Put_Key_APDU.cpp.o [ 73%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Select_APDU.cpp.o [ 74%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Delete_File_APDU.cpp.o [ 74%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Install_Applet_APDU.cpp.o [ 75%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Format_Muscle_Applet_APDU.cpp.o [ 75%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Load_File_APDU.cpp.o [ 76%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Install_Load_APDU.cpp.o [ 76%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Lifecycle_APDU.cpp.o [ 77%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/List_Objects_APDU.cpp.o [ 77%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Import_Key_APDU.cpp.o [ 78%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Import_Key_Enc_APDU.cpp.o [ 78%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/APDU_Response.cpp.o [ 79%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/apdu/Get_Lifecycle_APDU.cpp.o [ 79%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Begin_Op_Msg.cpp.o [ 80%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_End_Op_Msg.cpp.o [ 80%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Login_Request_Msg.cpp.o [ 81%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Login_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/msg/RA_Login_Response_Msg.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_Login_Response_Msg.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_Login_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 81%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_SecureId_Request_Msg.cpp.o [ 82%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_SecureId_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/msg/RA_SecureId_Response_Msg.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_SecureId_Response_Msg.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_SecureId_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 82%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_ASQ_Request_Msg.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Base.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_ASQ_Request_Msg.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_ASQ_Request_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 83%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_ASQ_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/msg/RA_ASQ_Response_Msg.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_ASQ_Response_Msg.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_ASQ_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 83%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_New_Pin_Request_Msg.cpp.o [ 84%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_New_Pin_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/msg/RA_New_Pin_Response_Msg.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_New_Pin_Response_Msg.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_New_Pin_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 85%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Token_PDU_Request_Msg.cpp.o [ 85%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Token_PDU_Response_Msg.cpp.o [ 86%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Status_Update_Request_Msg.cpp.o [ 86%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Status_Update_Response_Msg.cpp.o [ 87%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Extended_Login_Request_Msg.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Base.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_Extended_Login_Request_Msg.cpp:23: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_Extended_Login_Request_Msg.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 87%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/msg/RA_Extended_Login_Response_Msg.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/msg/RA_Extended_Login_Response_Msg.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_Extended_Login_Response_Msg.cpp:22: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plstr.h:29, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/msg/RA_Extended_Login_Response_Msg.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 88%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/channel/Channel.cpp.o [ 88%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/channel/Secure_Channel.cpp.o /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/channel/Secure_Channel.cpp: In member function 'int Secure_Channel::IsPinPresent(BYTE)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/channel/Secure_Channel.cpp:615:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 615 | list_pins_apdu = (List_Pins_APDU *) ComputeAPDU(list_pins_apdu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/channel/Secure_Channel.cpp: In member function 'int Secure_Channel::ImportKeyEnc(BYTE, BYTE, Buffer*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/channel/Secure_Channel.cpp:996:12: warning: variable 'objid' set but not used [-Wunused-but-set-variable] 996 | BYTE objid[4]; | ^~~~~ [ 89%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/engine/RA.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/tus/tus_db.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:43: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:33: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp: In static member function 'static void RA::RecoverKey(RA_Session*, const char*, const char*, char*, char*, char**, char**, const char*, char**)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:1104:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1104 | int status; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp: In static member function 'static void RA::ServerSideKeyGen(RA_Session*, const char*, const char*, char*, char**, char**, char**, const char*, bool, int, bool)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:1385:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1385 | eckeycurve = "nistp521"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:1387:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1387 | eckeycurve = "nistp384"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:1389:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1389 | eckeycurve = "nistp256"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:1394:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1394 | eckeycurve = "nistp256"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:1316:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1316 | int status; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp: In static member function 'static PK11SymKey* RA::ComputeSessionKey(RA_Session*, Buffer&, Buffer&, Buffer&, Buffer&, Buffer**, Buffer&, PK11SymKey**, char**, char**, char**, const char*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/engine/RA.cpp:1646:8: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1646 | int status; | ^~~~~~ [ 89%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/processor/RA_Processor.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp:27: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/plarena.h:15, from /usr/include/nss3/cert.h:13, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp: In member function 'bool RA_Processor::GetTokenType(const char*, int, int, const char*, const char*, NameValueSet*, RA_Status&, const char*&)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp:681:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 681 | int rc=0; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp: In member function 'RA_Status RA_Processor::Format(RA_Session*, NameValueSet*, bool)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp:3237:28: warning: narrowing conversion of 'v' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 3237 | BYTE nv[2] = { v, 0x01 }; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp:2624:20: warning: variable 'start' set but not used [-Wunused-but-set-variable] 2624 | PRIntervalTime start, end; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp:2624:27: warning: variable 'end' set but not used [-Wunused-but-set-variable] 2624 | PRIntervalTime start, end; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Processor.cpp:2664:9: warning: variable 'finalKeyVersion' set but not used [-Wunused-but-set-variable] 2664 | int finalKeyVersion = 0; | ^~~~~~~~~~~~~~~ [ 90%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/processor/RA_Enroll_Processor.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/RA_Session.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:47: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nss3/pkcs11t.h:25, from /usr/include/nss3/pkcs11.h:178, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:35: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp: In member function 'bool RA_Enroll_Processor::CheckAndUpgradeApplet(RA_Session*, NameValueSet*, char*, const char*, char*&, BYTE&, BYTE&, Buffer*, const char*, const char*, RA_Status&, char**)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:1301:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1301 | if (rc = UpgradeApplet(a_session, (char *) OP_PREFIX, (char*) a_tokenType, | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1302 | o_major_version, o_minor_version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1303 | g_applet_target_version, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1304 | applet_dir, security_level, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1305 | connid, a_extensions, | ~~~~~~~~~~~~~~~~~~~~~ 1306 | 5, | ~~ 1307 | 12, | ~~~ 1308 | keyVersion) != 1) { | ~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp: In member function 'bool RA_Enroll_Processor::CheckAndUpgradeSymKeys(RA_Session*, NameValueSet*, char*, const char*, char*, const char*, const char*, const char*, Buffer*, Buffer*, Secure_Channel*&, RA_Status&)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:1772:19: warning: narrowing conversion of 'requiredV' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 1772 | BYTE nv[2] = { requiredV, 0x01 }; | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp: In member function 'virtual RA_Status RA_Enroll_Processor::Process(RA_Session*, NameValueSet*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:1949:20: warning: variable 'start' set but not used [-Wunused-but-set-variable] 1949 | PRIntervalTime start, end; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:1949:27: warning: variable 'end' set but not used [-Wunused-but-set-variable] 1949 | PRIntervalTime start, end; | ^~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp: In member function 'bool RA_Enroll_Processor::DoRenewal(const char*, const char*, CERTCertificate*, CERTCertificate**, char*, int*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:3488:15: warning: variable 'status' set but not used [-Wunused-but-set-variable] 3488 | RA_Status status = STATUS_NO_ERROR; | ^~~~~~ In file included from /usr/include/string.h:495, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:33: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'bool RA_Enroll_Processor::GenerateCertsAfterRecoveryPolicy(AuthParams*, RA_Session*, char**&, char**&, char*&, PKCS11Obj*, int, NameValueSet*, Secure_Channel*, Buffer*, Buffer*, Buffer*, char*, char*, const char*, char*, const char*, RA_Status&, CERTCertificate**&, int&, char**&)' at /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Enroll_Processor.cpp:3254:20: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 100 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 90%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/processor/RA_Pin_Reset_Processor.cpp.o /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Pin_Reset_Processor.cpp: In member function 'virtual RA_Status RA_Pin_Reset_Processor::Process(RA_Session*, NameValueSet*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Pin_Reset_Processor.cpp:409:24: warning: narrowing conversion of 'v' from 'int' to 'BYTE' {aka 'unsigned char'} [-Wnarrowing] 409 | BYTE nv[2] = { v, 0x01 }; | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Pin_Reset_Processor.cpp:63:20: warning: variable 'start' set but not used [-Wunused-but-set-variable] 63 | PRIntervalTime start, end; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/processor/RA_Pin_Reset_Processor.cpp:63:27: warning: variable 'end' set but not used [-Wunused-but-set-variable] 63 | PRIntervalTime start, end; | ^~~ [ 91%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/processor/RA_Renew_Processor.cpp.o [ 91%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/processor/RA_Unblock_Processor.cpp.o [ 92%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/processor/RA_Format_Processor.cpp.o [ 92%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/selftests/SelfTest.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/SelfTest.cpp:49: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/SelfTest.cpp:37: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 93%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/selftests/TPSPresence.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/TPSPresence.cpp:49: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/TPSPresence.cpp:37: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 93%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/selftests/TPSSystemCertsVerification.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/TPSSystemCertsVerification.cpp:49: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/TPSSystemCertsVerification.cpp:37: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 94%] Building CXX object base/tps-client/src/CMakeFiles/tps_library.dir/selftests/TPSValidity.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/engine/RA.h:35, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/TPSValidity.cpp:49: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prmem.h:14, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/selftests/TPSValidity.cpp:37: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 94%] Linking CXX shared library libtps.so [ 94%] Built target tps_library Scanning dependencies of target ldapauth_library [ 94%] Building CXX object base/tps-client/src/authentication/CMakeFiles/ldapauth_library.dir/LDAP_Authentication.cpp.o [ 95%] Linking CXX shared library libldapauth.so [ 95%] Built target ldapauth_library Scanning dependencies of target tpsclient [ 96%] Building CXX object base/tps-client/tools/raclient/CMakeFiles/tpsclient.dir/RA_Client.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/NameValueSet.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Client.cpp:33: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prinrval.h:21, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Client.cpp:24: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | [ 96%] Building CXX object base/tps-client/tools/raclient/CMakeFiles/tpsclient.dir/RA_Conn.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/NameValueSet.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Conn.cpp:26: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nspr4/prnetdb.h:9, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Conn.cpp:22: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Conn.cpp: In function 'int ReadResponseHeader(PRFileDesc*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Conn.cpp:446:11: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 446 | PRInt32 rc; | ^~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Conn.cpp: At global scope: /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Conn.cpp:214:1: warning: 'PRUint32 GetIPAddress(const char*)' defined but not used [-Wunused-function] 214 | GetIPAddress (const char *hostName) | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Conn.cpp:157:1: warning: 'void printBuf(Buffer*)' defined but not used [-Wunused-function] 157 | printBuf (Buffer * buf) | ^~~~~~~~ [ 97%] Building CXX object base/tps-client/tools/raclient/CMakeFiles/tpsclient.dir/RA_Token.cpp.o In file included from /builddir/build/BUILD/pki-10.8.3/base/tps-client/src/include/main/Util.h:36, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:23: /builddir/build/BUILD/pki-10.8.3/build/config.h:42: warning: "XP_UNIX" redefined 42 | #define XP_UNIX 1 | In file included from /usr/include/nspr4/prtypes.h:26, from /usr/include/nss3/seccomon.h:17, from /usr/include/nss3/blapit.h:11, from /usr/include/nss3/cryptohi.h:11, from /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:21: /usr/include/nspr4/prcpucfg.h:15: note: this is the location of the previous definition 15 | #define XP_UNIX | /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:59:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | { "sect163k1", SEC_OID_SECG_EC_SECT163K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:60:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | { "nistk163", SEC_OID_SECG_EC_SECT163K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:61:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | { "sect163r1", SEC_OID_SECG_EC_SECT163R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:62:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | { "sect163r2", SEC_OID_SECG_EC_SECT163R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:63:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | { "nistb163", SEC_OID_SECG_EC_SECT163R2}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:64:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | { "sect193r1", SEC_OID_SECG_EC_SECT193R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:65:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | { "sect193r2", SEC_OID_SECG_EC_SECT193R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:66:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | { "sect233k1", SEC_OID_SECG_EC_SECT233K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:67:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | { "nistk233", SEC_OID_SECG_EC_SECT233K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:68:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | { "sect233r1", SEC_OID_SECG_EC_SECT233R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:69:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | { "nistb233", SEC_OID_SECG_EC_SECT233R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:70:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | { "sect239k1", SEC_OID_SECG_EC_SECT239K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:71:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | { "sect283k1", SEC_OID_SECG_EC_SECT283K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:72:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | { "nistk283", SEC_OID_SECG_EC_SECT283K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:73:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | { "sect283r1", SEC_OID_SECG_EC_SECT283R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:74:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | { "nistb283", SEC_OID_SECG_EC_SECT283R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:75:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | { "sect409k1", SEC_OID_SECG_EC_SECT409K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:76:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | { "nistk409", SEC_OID_SECG_EC_SECT409K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:77:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | { "sect409r1", SEC_OID_SECG_EC_SECT409R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:78:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | { "nistb409", SEC_OID_SECG_EC_SECT409R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:79:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | { "sect571k1", SEC_OID_SECG_EC_SECT571K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:80:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | { "nistk571", SEC_OID_SECG_EC_SECT571K1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:81:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | { "sect571r1", SEC_OID_SECG_EC_SECT571R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:82:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | { "nistb571", SEC_OID_SECG_EC_SECT571R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:83:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | { "secp160k1", SEC_OID_SECG_EC_SECP160K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:84:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | { "secp160r1", SEC_OID_SECG_EC_SECP160R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | { "secp160r2", SEC_OID_SECG_EC_SECP160R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:86:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | { "secp192k1", SEC_OID_SECG_EC_SECP192K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:87:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | { "secp192r1", SEC_OID_SECG_EC_SECP192R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:88:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | { "nistp192", SEC_OID_SECG_EC_SECP192R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:89:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | { "secp224k1", SEC_OID_SECG_EC_SECP224K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | { "secp224r1", SEC_OID_SECG_EC_SECP224R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:91:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | { "nistp224", SEC_OID_SECG_EC_SECP224R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:92:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | { "secp256k1", SEC_OID_SECG_EC_SECP256K1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:93:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | { "secp256r1", SEC_OID_SECG_EC_SECP256R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:94:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | { "nistp256", SEC_OID_SECG_EC_SECP256R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:95:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | { "secp384r1", SEC_OID_SECG_EC_SECP384R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | { "nistp384", SEC_OID_SECG_EC_SECP384R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:97:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | { "secp521r1", SEC_OID_SECG_EC_SECP521R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:98:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | { "nistp521", SEC_OID_SECG_EC_SECP521R1}, | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:100:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | { "prime192v1", SEC_OID_ANSIX962_EC_PRIME192V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:101:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | { "prime192v2", SEC_OID_ANSIX962_EC_PRIME192V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:102:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | { "prime192v3", SEC_OID_ANSIX962_EC_PRIME192V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:103:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | { "prime239v1", SEC_OID_ANSIX962_EC_PRIME239V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:104:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | { "prime239v2", SEC_OID_ANSIX962_EC_PRIME239V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | { "prime239v3", SEC_OID_ANSIX962_EC_PRIME239V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:107:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | { "c2pnb163v1", SEC_OID_ANSIX962_EC_C2PNB163V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:108:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | { "c2pnb163v2", SEC_OID_ANSIX962_EC_C2PNB163V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:109:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | { "c2pnb163v3", SEC_OID_ANSIX962_EC_C2PNB163V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:110:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | { "c2pnb176v1", SEC_OID_ANSIX962_EC_C2PNB176V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:111:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | { "c2tnb191v1", SEC_OID_ANSIX962_EC_C2TNB191V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:112:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | { "c2tnb191v2", SEC_OID_ANSIX962_EC_C2TNB191V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:113:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | { "c2tnb191v3", SEC_OID_ANSIX962_EC_C2TNB191V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:114:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | { "c2onb191v4", SEC_OID_ANSIX962_EC_C2ONB191V4 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:115:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | { "c2onb191v5", SEC_OID_ANSIX962_EC_C2ONB191V5 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:116:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | { "c2pnb208w1", SEC_OID_ANSIX962_EC_C2PNB208W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:117:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | { "c2tnb239v1", SEC_OID_ANSIX962_EC_C2TNB239V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:118:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | { "c2tnb239v2", SEC_OID_ANSIX962_EC_C2TNB239V2 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:119:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | { "c2tnb239v3", SEC_OID_ANSIX962_EC_C2TNB239V3 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:120:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | { "c2onb239v4", SEC_OID_ANSIX962_EC_C2ONB239V4 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:121:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { "c2onb239v5", SEC_OID_ANSIX962_EC_C2ONB239V5 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:122:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { "c2pnb272w1", SEC_OID_ANSIX962_EC_C2PNB272W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:123:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | { "c2pnb304w1", SEC_OID_ANSIX962_EC_C2PNB304W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:124:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | { "c2tnb359v1", SEC_OID_ANSIX962_EC_C2TNB359V1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:125:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | { "c2pnb368w1", SEC_OID_ANSIX962_EC_C2PNB368W1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:126:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | { "c2tnb431r1", SEC_OID_ANSIX962_EC_C2TNB431R1 }, | ^~~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:128:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | { "secp112r1", SEC_OID_SECG_EC_SECP112R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:129:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | { "secp112r2", SEC_OID_SECG_EC_SECP112R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:130:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | { "secp128r1", SEC_OID_SECG_EC_SECP128R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:131:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | { "secp128r2", SEC_OID_SECG_EC_SECP128R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:133:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | { "sect113r1", SEC_OID_SECG_EC_SECT113R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:134:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | { "sect113r2", SEC_OID_SECG_EC_SECT113R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:135:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | { "sect131r1", SEC_OID_SECG_EC_SECT131R1}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:136:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | { "sect131r2", SEC_OID_SECG_EC_SECT131R2}, | ^~~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp: In member function 'void RA_Token::SetMSN(Buffer&)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:348:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 348 | m_msn = *(ToBuffer ("FFFFFFFF")); | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp: In member function 'PK11SymKey* RA_Token::CreateSessionKey(keyType, Buffer&, Buffer&)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:761:8: warning: variable 'input' set but not used [-Wunused-but-set-variable] 761 | char input[16]; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp: In member function 'APDU_Response* RA_Token::ProcessGenerateKey(Generate_Key_APDU*, NameValueSet*, NameValueSet*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1076:13: warning: variable 'algtag' set but not used [-Wunused-but-set-variable] 1076 | SECOidTag algtag; | ^~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp: In member function 'APDU_Response* RA_Token::ProcessGenerateKeyECC(Generate_Key_ECC_APDU*, NameValueSet*, NameValueSet*)': /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1380:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1380 | keycurve = "nistp256"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1382:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1382 | keycurve = "nistp384"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1384:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1384 | keycurve = "nistp521"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1387:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1387 | keycurve = "nistp256"; | ^~~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1418:17: warning: unused variable 'n' [-Wunused-variable] 1418 | int n = ReadLine(fd_slotname, slotname, 500, &removed_return); | ^ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1521:28: warning: unused variable 'pkeyb' [-Wunused-variable] 1521 | unsigned char *pkeyb = (unsigned char *) (BYTE *) data_blob; | ^~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1522:17: warning: unused variable 'pkeyb_len' [-Wunused-variable] 1522 | int pkeyb_len = data_blob.size (); | ^~~~~~~~~ /builddir/build/BUILD/pki-10.8.3/base/tps-client/tools/raclient/RA_Token.cpp:1397:19: warning: unused variable 'attrFlags' [-Wunused-variable] 1397 | PK11AttrFlags attrFlags = 0; | ^~~~~~~~~ [ 98%] Linking CXX executable tpsclient [ 98%] Built target tpsclient Scanning dependencies of target pki-acme-links [ 98%] Built target pki-acme-links Scanning dependencies of target pki-acme-classes Note: org/dogtagpki/acme/server/ACMEEngine.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ 98%] Built target pki-acme-classes Scanning dependencies of target pki-acme-jar [ 98%] Packaging resources for pki-acme-jar [ 98%] Built target pki-acme-jar Scanning dependencies of target pki-javadoc [ 99%] Generating Javadoc for pki-javadoc /builddir/build/BUILD/pki-10.8.3/base/server/src/org/dogtagpki/legacy/core/policy/GenericPolicyProcessor.java:380: warning - @param argument "IRequest" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/org/dogtagpki/legacy/core/policy/PolicyPredicateParser.java:61: warning - @param argument "predicateExp" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/org/dogtagpki/legacy/core/policy/PolicySet.java:95: warning - @param argument "id" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/org/dogtagpki/legacy/core/policy/PolicySet.java:112: warning - @param argument "id" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/org/dogtagpki/legacy/core/policy/PolicySet.java:129: warning - @param argument "id" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/com/netscape/cms/profile/common/EnrollProfile.java:382: warning - @param argument "request" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/com/netscape/cms/profile/common/Profile.java:438: warning - @param argument "id" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/com/netscape/cms/profile/common/Profile.java:457: warning - @param argument "id" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/com/netscape/cms/profile/common/Profile.java:704: warning - @param argument "outputClassId" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/com/netscape/cms/profile/common/Profile.java:704: warning - @param argument "nvp" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/com/netscape/cms/profile/common/Profile.java:807: warning - @param argument "inputClassId" is not a parameter name. /builddir/build/BUILD/pki-10.8.3/base/server/src/com/netscape/cms/profile/common/Profile.java:807: warning - @param argument "nvp" is not a parameter name. 12 warnings [ 99%] Built target pki-javadoc Scanning dependencies of target pki-console-classes [100%] Compiling Java sources for pki-console-classes com/netscape/admin/certsrv/Console.java:52: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated import org.apache.commons.cli.PosixParser; ^ com/netscape/admin/certsrv/security/EncryptionPane.java:51: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CRLAddCertDialog.java:38: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CRLDeleteCertDialog.java:37: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CRLTable.java:39: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CRLTable.java:40: warning: [deprecation] SuiTable in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiTable; ^ com/netscape/admin/certsrv/security/CertInfoDialog.java:48: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CertInstallCertInfoPane.java:46: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CertInstallCertPane.java:49: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CertListTable.java:36: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CertListTable.java:37: warning: [deprecation] SuiTable in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiTable; ^ com/netscape/admin/certsrv/security/CertRequestEnterPasswordPane.java:42: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CertRequestSelectTokenPane.java:46: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/ChangeKeyPasswordDialog.java:34: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/CreateTrustPane.java:40: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/PKCS11AddModuleDialog.java:40: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ com/netscape/admin/certsrv/security/PKCS11ManagementDialog.java:50: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated import com.netscape.management.nmclf.SuiOptionPane; ^ warning: unknown enum constant Include.NON_NULL reason: class file for com.fasterxml.jackson.annotation.JsonInclude$Include not found com/netscape/admin/certsrv/CMSAdmin.java:549: warning: [deprecation] show() in Dialog has been deprecated d.show(); ^ com/netscape/admin/certsrv/CMSAdminUtil.java:1211: warning: [deprecation] Help(ResourceSet) in Help has been deprecated new Help(mHelpResource).help(token); ^ com/netscape/admin/certsrv/CMSAdminUtil.java:1211: warning: [deprecation] help(String) in Help has been deprecated new Help(mHelpResource).help(token); ^ com/netscape/admin/certsrv/CMSResourcePage.java:145: warning: [deprecation] start() in StatusItemProgress has been deprecated _statusItemProgress.start(); ^ com/netscape/admin/certsrv/CMSResourcePage.java:153: warning: [deprecation] stop() in StatusItemProgress has been deprecated _statusItemProgress.stop(); ^ com/netscape/admin/certsrv/CMSPassword.java:209: warning: [deprecation] getText() in JPasswordField has been deprecated mPassword = mPasswordField.getText().trim(); ^ com/netscape/admin/certsrv/CMSPassword.java:284: warning: [deprecation] getText() in JPasswordField has been deprecated (mPasswordField.getText().trim().equals("")) ) { ^ com/netscape/admin/certsrv/CMSPassword.java:306: warning: [deprecation] getText() in JPasswordField has been deprecated (!mPasswordField.getText().trim().equals("")) ) { ^ com/netscape/admin/certsrv/Console.java:1605: warning: [deprecation] PosixParser in org.apache.commons.cli has been deprecated CommandLineParser parser = new PosixParser(); ^ com/netscape/admin/certsrv/GenericCellEditor.java:178: warning: [deprecation] getText() in JPasswordField has been deprecated return mPasswordField.getText(); ^ com/netscape/admin/certsrv/HourGlass.java:49: warning: [deprecation] stop() in Thread has been deprecated this.stop(); ^ com/netscape/admin/certsrv/StatusItemContinuousProgress.java:49: warning: [deprecation] start() in StatusItemProgress has been deprecated public void start() { ^ com/netscape/admin/certsrv/StatusItemContinuousProgress.java:54: warning: [deprecation] resume() in Thread has been deprecated _thread.resume(); ^ com/netscape/admin/certsrv/StatusItemContinuousProgress.java:58: warning: [deprecation] stop() in StatusItemProgress has been deprecated public void stop() { ^ com/netscape/admin/certsrv/StatusItemContinuousProgress.java:91: warning: [deprecation] suspend() in Thread has been deprecated suspend(); ^ com/netscape/admin/certsrv/config/ACIDialog.java:104: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/ACIDialog.java:131: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/ACIDialog.java:213: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ACIDialog.java:221: warning: [deprecation] getSelectedValues() in JList has been deprecated Object[] values = mList.getSelectedValues(); ^ com/netscape/admin/certsrv/config/ACLEditDialog.java:230: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ACLEditDialog.java:253: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ACLImplTab.java:84: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/ACLImplTab.java:90: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/RegisterDialog.java:89: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/RegisterDialog.java:113: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/RegisterDialog.java:143: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/ACLPanel.java:85: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/ACLPanel.java:91: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/CACertsTab.java:263: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/CACertsTab.java:268: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/ug/CertViewDialog.java:95: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/ug/CertViewDialog.java:105: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/CMSAutoRecovery.java:210: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/CMSAutoRecovery.java:251: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/CMSAutoRecovery.java:255: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/CMSBaseConfigDialog.java:369: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/CMSBaseConfigDialog.java:894: warning: [deprecation] getText() in JPasswordField has been deprecated return getText(); ^ com/netscape/admin/certsrv/config/CMSBaseLDAPPanel.java:582: warning: [deprecation] getText() in JPasswordField has been deprecated passwd = mPasswordText.getText(); ^ com/netscape/admin/certsrv/config/PanelMapperConfigDialog.java:131: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/PanelMapperConfigDialog.java:323: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/PanelMapperConfigDialog.java:328: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/CMSCipherPreferenceDialog.java:196: warning: [deprecation] Help(ResourceSet) in Help has been deprecated new Help(mHelpResource).help("configuration-overview"); ^ com/netscape/admin/certsrv/config/CMSCipherPreferenceDialog.java:196: warning: [deprecation] help(String) in Help has been deprecated new Help(mHelpResource).help("configuration-overview"); ^ com/netscape/admin/certsrv/config/CMSKRAPasswdPanel.java:245: warning: [deprecation] getSelectedValues() in JList has been deprecated Object[] values = mAgentList.getSelectedValues(); ^ com/netscape/admin/certsrv/config/CMSPasswordDialog.java:179: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/CMSPasswordDialog.java:231: warning: [deprecation] getText() in JPasswordField has been deprecated String oldpassword = mOldPasswordField.getText().trim(); ^ com/netscape/admin/certsrv/config/CMSPasswordDialog.java:232: warning: [deprecation] getText() in JPasswordField has been deprecated String newpassword = mPasswordField.getText().trim(); ^ com/netscape/admin/certsrv/config/CMSPasswordDialog.java:233: warning: [deprecation] getText() in JPasswordField has been deprecated String passwordAgain = mPasswordFieldAgain.getText().trim(); ^ com/netscape/admin/certsrv/config/CMSPasswordDialog.java:320: warning: [deprecation] getText() in JPasswordField has been deprecated if ( (mPasswordField.getText().trim().equals("")) || ^ com/netscape/admin/certsrv/config/CMSPasswordDialog.java:321: warning: [deprecation] getText() in JPasswordField has been deprecated (mPasswordFieldAgain.getText().trim().equals("")) || ^ com/netscape/admin/certsrv/config/CMSPasswordDialog.java:322: warning: [deprecation] getText() in JPasswordField has been deprecated (mOldPasswordField.getText().trim().equals("")) ) { ^ com/netscape/admin/certsrv/config/CMSPluginInstanceTab.java:244: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/CMSPluginInstanceTab.java:248: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/PluginSelectionDialog.java:166: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ViewSelfTestsDialog.java:79: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ViewSelfTestsDialog.java:90: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/security/EncryptionPane.java:517: warning: [deprecation] SuiOptionPane in com.netscape.management.nmclf has been deprecated SuiOptionPane.showMessageDialog( ^ com/netscape/admin/certsrv/config/CMStoAdminEncryptionPane.java:52: warning: [deprecation] actionPerformed(ActionEvent) in EncryptionPane has been deprecated public void actionPerformed(ActionEvent e) { ^ com/netscape/admin/certsrv/config/CRLIPEditor.java:137: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ConnectorEditor.java:265: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ConnectorEditor.java:503: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated JScrollPane scrollPane = JTable.createScrollPaneForTable(mCertTable); ^ com/netscape/admin/certsrv/config/ConnectorEditor.java:508: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mCertTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/JobsImplTab.java:192: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/JobsImplTab.java:197: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/ViewDialog.java:88: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ViewDialog.java:98: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/KeyCreateDialog.java:100: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/KeyCreateDialog.java:127: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/KeyCreateDialog.java:157: warning: [deprecation] hide() in Dialog has been deprecated this.hide(); ^ com/netscape/admin/certsrv/config/LogImplTab.java:191: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/LogImplTab.java:196: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/MNSchemeWizard.java:48: warning: [deprecation] show() in Dialog has been deprecated show(); ^ com/netscape/admin/certsrv/config/MapperImplTab.java:196: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/MapperImplTab.java:201: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/PolicyImplTab.java:199: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/PolicyImplTab.java:204: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/PolicyRuleOrderDialog.java:136: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ com/netscape/admin/certsrv/config/ProfileConfigDialog.java:331: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated JScrollPane mScrollPane = JTable.createScrollPaneForTable(mTable); ^ com/netscape/admin/certsrv/config/ProfileConfigDialog.java:335: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated mTable.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/ProfileEditDialog.java:416: warning: [deprecation] createScrollPaneForTable(JTable) in JTable has been deprecated JScrollPane mScrollPane = JTable.createScrollPaneForTable(table); ^ com/netscape/admin/certsrv/config/ProfileEditDialog.java:420: warning: [deprecation] sizeColumnsToFit(boolean) in JTable has been deprecated table.sizeColumnsToFit(true); ^ com/netscape/admin/certsrv/config/ProfileEditDialog.java:774: warning: [deprecation] show() in Dialog has been deprecated this.show(); ^ Note: Some input files additionally use or override a deprecated API. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 warnings [100%] Built target pki-console-classes Scanning dependencies of target pki-console-jar [100%] Packaging resources for pki-console-jar May 09, 2020 10:00:36 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Name. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 09, 2020 10:00:37 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Specification-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. May 09, 2020 10:00:37 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. [100%] Built target pki-console-jar Install the project... -- Install configuration: "" -- Set runtime path of "/builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib64/tps/libtps.so" to "/usr/lib64/tps" -- Set runtime path of "/builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib64/tps/libtokendb.so" to "/usr/lib64/tps" -- Set runtime path of "/builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/bin/tpsclient" to "/usr/lib64/tps" + ctest --output-on-failure Test project /builddir/build/BUILD/pki-10.8.3/build Start 1: test_PKICertImport 1/1 Test #1: test_PKICertImport ............... Passed 1213.67 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 1213.99 sec + ln -sf /usr/share/java/jboss-logging/jboss-logging.jar /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/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.8.3-2.fc33.riscv64/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.8.3-2.fc33.riscv64/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.8.3-2.fc33.riscv64/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.8.3-2.fc33.riscv64/usr/share/pki/server/common/lib/jboss-annotations-api_1.2_spec.jar + echo 'Scanning Python code with pylint' Scanning Python code with pylint + /usr/bin/python3 -I ../tools/pylint-build-scan.py rpm --prefix /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64 ************* Module pki.info /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) /builddir/build/BUILDROOT/pki-core-10.8.3-2.fc33.riscv64/usr/lib/python3.8/site-packages/pki/info.py:76:4: E0312: __getnewargs__ does not return a tuple (invalid-getnewargs-returned) error: Bad exit status from /var/tmp/rpm-tmp.hF83He (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hF83He (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pki-core.spec