MidnightBSD Magus

security/yubico-piv-tool

Yubico PIV tool

Flavor Version Run OSVersion Arch License Restricted Build Fetch Test Scan
1.7.0 642 4.1 amd64 bsd2 0 fail pass untested untested

License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

Events

Machine Phase Type Time Message
m4164b build info 2026-07-09 18:44:39.839552 Build Started
m4164b build fail 2026-07-09 18:45:06.388328 make build returned non-zero: 1
m4164b build fail 2026-07-09 18:45:06.487872 Build complete.
m4164b fetch info 2026-07-07 14:41:04.873317 Fetch Started
m4164b fetch pass 2026-07-07 14:41:06.677045 Fetch complete.

Build Log

===>  Building for yubico-piv-tool-1.7.0
Making all in lib
gmake[1]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/lib'
Making all in .
gmake[2]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/lib'
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT ykpiv.lo -MD -MP -MF .deps/ykpiv.Tpo -c -o ykpiv.lo ykpiv.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT internal.lo -MD -MP -MF .deps/internal.Tpo -c -o internal.lo internal.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo version.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT ykpiv.lo -MD -MP -MF .deps/ykpiv.Tpo -c ykpiv.c  -fPIC -DPIC -o .libs/ykpiv.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c  -fPIC -DPIC -o .libs/error.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c  -fPIC -DPIC -o .libs/version.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT internal.lo -MD -MP -MF .deps/internal.Tpo -c internal.c  -fPIC -DPIC -o .libs/internal.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fPIC -DPIC -o .libs/util.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -o version.o >/dev/null 2>&1
internal.c:233:3: warning: 'DES_set_key_unchecked' is deprecated [-Wdeprecated-declarations]
  233 |   DES_set_key_unchecked(&key_tmp, &((*key)->ks1));
      |   ^
/usr/include/openssl/des.h:191:1: note: 'DES_set_key_unchecked' has been explicitly marked deprecated here
  191 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
internal.c:235:3: warning: 'DES_set_key_unchecked' is deprecated [-Wdeprecated-declarations]
  235 |   DES_set_key_unchecked(&key_tmp, &((*key)->ks2));
      |   ^
/usr/include/openssl/des.h:191:1: note: 'DES_set_key_unchecked' has been explicitly marked deprecated here
  191 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
internal.c:237:3: warning: 'DES_set_key_unchecked' is deprecated [-Wdeprecated-declarations]
  237 |   DES_set_key_unchecked(&key_tmp, &((*key)->ks3));
      |   ^
/usr/include/openssl/des.h:191:1: note: 'DES_set_key_unchecked' has been explicitly marked deprecated here
  191 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
mv -f .deps/error.Tpo .deps/error.Plo
internal.c:311:3: warning: 'DES_ecb3_encrypt' is deprecated [-Wdeprecated-declarations]
  311 |   DES_ecb3_encrypt((const_DES_cblock *)in, (DES_cblock*)out, &(key->ks1), &(key->ks2), &(key->ks3), 1);
      |   ^
/usr/include/openssl/des.h:77:1: note: 'DES_ecb3_encrypt' has been explicitly marked deprecated here
   77 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
internal.c:346:3: warning: 'DES_ecb3_encrypt' is deprecated [-Wdeprecated-declarations]
  346 |   DES_ecb3_encrypt((const_DES_cblock*)in, (DES_cblock*)out, &(key->ks1), &(key->ks2), &(key->ks3), 0);
      |   ^
/usr/include/openssl/des.h:77:1: note: 'DES_ecb3_encrypt' has been explicitly marked deprecated here
   77 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
internal.c:417:10: warning: 'DES_is_weak_key' is deprecated [-Wdeprecated-declarations]
  417 |   return DES_is_weak_key((const_DES_cblock *)key);
      |          ^
/usr/include/openssl/des.h:178:1: note: 'DES_is_weak_key' has been explicitly marked deprecated here
  178 | OSSL_DEPRECATEDIN_3_0 int DES_is_weak_key(const_DES_cblock *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
mv -f .deps/version.Tpo .deps/version.Plo
6 warnings generated.
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT internal.lo -MD -MP -MF .deps/internal.Tpo -c internal.c -o internal.o >/dev/null 2>&1
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT ykpiv.lo -MD -MP -MF .deps/ykpiv.Tpo -c ykpiv.c -o ykpiv.o >/dev/null 2>&1
mv -f .deps/internal.Tpo .deps/internal.Plo
mv -f .deps/util.Tpo .deps/util.Plo
mv -f .deps/ykpiv.Tpo .deps/ykpiv.Plo
/bin/sh ../libtool  --tag=CC   --mode=link cc    -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -no-undefined -version-info 6:0:5  -export-symbols-regex '^ykpiv_.*' -fstack-protector-strong  -o libykpiv.la -rpath /usr/local/lib ykpiv.lo util.lo internal.lo version.lo error.lo -L/usr/lib -lcrypto -L/usr/local/lib -lpcsclite    
libtool: link: /usr/bin/nm  .libs/ykpiv.o .libs/util.o .libs/internal.o .libs/version.o .libs/error.o   | sed -n -e 's/^.*[	 ]\([BCDEGRST][BCDEGRST]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libykpiv.exp
libtool: link: /usr/bin/egrep -e "^ykpiv_.*" ".libs/libykpiv.exp" > ".libs/libykpiv.expT"
libtool: link: mv -f ".libs/libykpiv.expT" ".libs/libykpiv.exp"
libtool: link: echo "{ global:" > .libs/libykpiv.so.1.5.0-ver
libtool: link: 		 sed -e "s|$|;|" < .libs/libykpiv.exp >> .libs/libykpiv.so.1.5.0-ver
libtool: link: 	 echo "local: *; };" >> .libs/libykpiv.so.1.5.0-ver
libtool: link: cc -shared  -fPIC -DPIC  .libs/ykpiv.o .libs/util.o .libs/internal.o .libs/version.o .libs/error.o   -L/usr/lib -lcrypto -L/usr/local/lib -lpcsclite  -O2 -fstack-protector-strong -fstack-protector-strong   -Wl,-soname -Wl,libykpiv.so.1 -Wl,-version-script -Wl,.libs/libykpiv.so.1.5.0-ver -o .libs/libykpiv.so.1.5.0
libtool: link: (cd ".libs" && rm -f "libykpiv.so.1" && ln -s "libykpiv.so.1.5.0" "libykpiv.so.1")
libtool: link: (cd ".libs" && rm -f "libykpiv.so" && ln -s "libykpiv.so.1.5.0" "libykpiv.so")
libtool: link: ar cru .libs/libykpiv.a  ykpiv.o util.o internal.o version.o error.o
libtool: link: ranlib .libs/libykpiv.a
libtool: link: ( cd ".libs" && rm -f "libykpiv.la" && ln -s "../libykpiv.la" "libykpiv.la" )
gmake[2]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/lib'
Making all in tests
gmake[2]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/lib/tests'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/lib/tests'
gmake[1]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/lib'
Making all in tool
gmake[1]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool'
/usr/local/bin/gmake  all-recursive
gmake[2]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool'
Making all in .
gmake[3]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool'
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I../lib -I../lib   -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT libpiv_cmd_la-cmdline.lo -MD -MP -MF .deps/libpiv_cmd_la-cmdline.Tpo -c -o libpiv_cmd_la-cmdline.lo `test -f 'cmdline.c' || echo './'`cmdline.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I../lib -I../lib     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I../lib -I../lib     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT openssl-compat.lo -MD -MP -MF .deps/openssl-compat.Tpo -c -o openssl-compat.lo openssl-compat.c
cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I../lib -I../lib     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT yubico-piv-tool.o -MD -MP -MF .deps/yubico-piv-tool.Tpo -c -o yubico-piv-tool.o yubico-piv-tool.c
yubico-piv-tool.c:116:8: warning: 'RSA_padding_add_PKCS1_type_1' is deprecated [-Wdeprecated-declarations]
  116 |     if(RSA_padding_add_PKCS1_type_1(signinput, padlen, in, len) == 0) {
      |        ^
/usr/include/openssl/rsa.h:374:1: note: 'RSA_padding_add_PKCS1_type_1' has been explicitly marked deprecated here
  374 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:142:22: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
  142 |   size_t yk_siglen = RSA_size(rsa);
      |                      ^
/usr/include/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:143:28: warning: 'RSA_get_method' is deprecated [-Wdeprecated-declarations]
  143 |   const RSA_METHOD *meth = RSA_get_method(rsa);
      |                            ^
/usr/include/openssl/rsa.h:300:1: note: 'RSA_get_method' has been explicitly marked deprecated here
  300 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_method(const RSA *rsa);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:144:36: warning: 'RSA_meth_get0_app_data' is deprecated [-Wdeprecated-declarations]
  144 |   const struct internal_key *key = RSA_meth_get0_app_data(meth);
      |                                    ^
/usr/include/openssl/rsa.h:480:1: note: 'RSA_meth_get0_app_data' has been explicitly marked deprecated here
  480 | OSSL_DEPRECATEDIN_3_0 void *RSA_meth_get0_app_data(const RSA_METHOD *meth);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:164:22: warning: 'ECDSA_size' is deprecated [-Wdeprecated-declarations]
  164 |   size_t yk_siglen = ECDSA_size(ec);
      |                      ^
/usr/include/openssl/ec.h:1447:1: note: 'ECDSA_size' has been explicitly marked deprecated here
 1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:165:36: warning: 'EC_KEY_get_ex_data' is deprecated [-Wdeprecated-declarations]
  165 |   const struct internal_key *key = EC_KEY_get_ex_data(ec, ec_key_ex_data_idx);
      |                                    ^
/usr/include/openssl/ec.h:1076:1: note: 'EC_KEY_get_ex_data' has been explicitly marked deprecated here
 1076 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:183:24: warning: 'RSA_meth_dup' is deprecated [-Wdeprecated-declarations]
  183 |     RSA_METHOD *meth = RSA_meth_dup(RSA_get_default_method());
      |                        ^
/usr/include/openssl/rsa.h:474:1: note: 'RSA_meth_dup' has been explicitly marked deprecated here
  474 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:183:37: warning: 'RSA_get_default_method' is deprecated [-Wdeprecated-declarations]
  183 |     RSA_METHOD *meth = RSA_meth_dup(RSA_get_default_method());
      |                                     ^
/usr/include/openssl/rsa.h:298:1: note: 'RSA_get_default_method' has been explicitly marked deprecated here
  298 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:184:10: warning: initializing 'RSA *' (aka 'struct rsa_st *') with an expression of type 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  184 |     RSA *rsa = EVP_PKEY_get0_RSA(public_key);
      |          ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yubico-piv-tool.c:184:16: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
  184 |     RSA *rsa = EVP_PKEY_get0_RSA(public_key);
      |                ^
/usr/include/openssl/evp.h:1338:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
 1338 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:185:5: warning: 'RSA_meth_set0_app_data' is deprecated [-Wdeprecated-declarations]
  185 |     RSA_meth_set0_app_data(meth, &int_key);
      |     ^
/usr/include/openssl/rsa.h:481:1: note: 'RSA_meth_set0_app_data' has been explicitly marked deprecated here
  481 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set0_app_data(RSA_METHOD *meth,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:186:5: warning: 'RSA_meth_set_sign' is deprecated [-Wdeprecated-declarations]
  186 |     RSA_meth_set_sign(meth, yk_rsa_meth_sign);
      |     ^
/usr/include/openssl/rsa.h:561:1: note: 'RSA_meth_set_sign' has been explicitly marked deprecated here
  561 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:187:5: warning: 'RSA_set_method' is deprecated [-Wdeprecated-declarations]
  187 |     RSA_set_method(rsa, meth);
      |     ^
/usr/include/openssl/rsa.h:301:1: note: 'RSA_set_method' has been explicitly marked deprecated here
  301 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:189:13: warning: initializing 'EC_KEY *' (aka 'struct ec_key_st *') with an expression of type 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  189 |     EC_KEY *ec = EVP_PKEY_get0_EC_KEY(public_key);
      |             ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yubico-piv-tool.c:189:18: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
  189 |     EC_KEY *ec = EVP_PKEY_get0_EC_KEY(public_key);
      |                  ^
/usr/include/openssl/evp.h:1364:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
 1364 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:190:27: warning: 'EC_KEY_METHOD_new' is deprecated [-Wdeprecated-declarations]
  190 |     EC_KEY_METHOD *meth = EC_KEY_METHOD_new(EC_KEY_get_method(ec));
      |                           ^
/usr/include/openssl/ec.h:1453:1: note: 'EC_KEY_METHOD_new' has been explicitly marked deprecated here
 1453 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:190:45: warning: 'EC_KEY_get_method' is deprecated [-Wdeprecated-declarations]
  190 |     EC_KEY_METHOD *meth = EC_KEY_METHOD_new(EC_KEY_get_method(ec));
      |                                             ^
/usr/include/openssl/ec.h:1274:1: note: 'EC_KEY_get_method' has been explicitly marked deprecated here
 1274 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:193:5: warning: 'EC_KEY_set_ex_data' is deprecated [-Wdeprecated-declarations]
  193 |     EC_KEY_set_ex_data(ec, ec_key_ex_data_idx, &int_key);
      |     ^
/usr/include/openssl/ec.h:1075:1: note: 'EC_KEY_set_ex_data' has been explicitly marked deprecated here
 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:194:5: warning: 'EC_KEY_METHOD_set_sign' is deprecated [-Wdeprecated-declarations]
  194 |     EC_KEY_METHOD_set_sign(meth, yk_ec_meth_sign, NULL, NULL); /* XXX ?? */
      |     ^
/usr/include/openssl/ec.h:1470:1: note: 'EC_KEY_METHOD_set_sign' has been explicitly marked deprecated here
 1470 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign(EC_KEY_METHOD *meth,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:195:5: warning: 'EC_KEY_set_method' is deprecated [-Wdeprecated-declarations]
  195 |     EC_KEY_set_method(ec, meth);
      |     ^
/usr/include/openssl/ec.h:1275:1: note: 'EC_KEY_set_method' has been explicitly marked deprecated here
 1275 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:248:13: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
  248 |       rsa = RSA_new();
      |             ^
/usr/include/openssl/rsa.h:201:1: note: 'RSA_new' has been explicitly marked deprecated here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:260:7: warning: 'RSA_set0_key' is deprecated [-Wdeprecated-declarations]
  260 |       RSA_set0_key(rsa, bignum_n, bignum_e, NULL);
      |       ^
/usr/include/openssl/rsa.h:207:1: note: 'RSA_set0_key' has been explicitly marked deprecated here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:261:7: warning: 'EVP_PKEY_set1_RSA' is deprecated [-Wdeprecated-declarations]
  261 |       EVP_PKEY_set1_RSA(public_key, rsa);
      |       ^
/usr/include/openssl/evp.h:1336:1: note: 'EVP_PKEY_set1_RSA' has been explicitly marked deprecated here
 1336 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:271:15: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
  271 |       eckey = EC_KEY_new();
      |               ^
/usr/include/openssl/ec.h:960:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
  960 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:274:7: warning: 'EC_KEY_set_group' is deprecated [-Wdeprecated-declarations]
  274 |       EC_KEY_set_group(eckey, group);
      |       ^
/usr/include/openssl/ec.h:1034:1: note: 'EC_KEY_set_group' has been explicitly marked deprecated here
 1034 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:281:11: warning: 'EC_KEY_set_public_key' is deprecated [-Wdeprecated-declarations]
  281 |       if(!EC_KEY_set_public_key(eckey, ecpoint)) {
      |           ^
/usr/include/openssl/ec.h:1062:1: note: 'EC_KEY_set_public_key' has been explicitly marked deprecated here
 1062 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:285:7: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated [-Wdeprecated-declarations]
  285 |       EVP_PKEY_set1_EC_KEY(public_key, eckey);
      |       ^
/usr/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_set1_EC_KEY' has been explicitly marked deprecated here
 1362 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:304:5: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
  304 |     EC_KEY_free(eckey);
      |     ^
/usr/include/openssl/ec.h:995:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
  995 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:307:5: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
  307 |     RSA_free(rsa);
      |     ^
/usr/include/openssl/rsa.h:292:1: note: 'RSA_free' has been explicitly marked deprecated here
  292 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:404:30: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations]
  404 |       RSA *rsa_private_key = EVP_PKEY_get1_RSA(private_key);
      |                              ^
/usr/include/openssl/evp.h:1340:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here
 1340 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:418:7: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
  418 |       RSA_get0_key(rsa_private_key, NULL, &bn_e, NULL);
      |       ^
/usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:419:7: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
  419 |       RSA_get0_factors(rsa_private_key, &bn_p, &bn_q);
      |       ^
/usr/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:420:7: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
  420 |       RSA_get0_crt_params(rsa_private_key, &bn_dmp1, &bn_dmq1, &bn_iqmp);
      |       ^
/usr/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:462:20: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated [-Wdeprecated-declarations]
  462 |       EC_KEY *ec = EVP_PKEY_get1_EC_KEY(private_key);
      |                    ^
/usr/include/openssl/evp.h:1366:1: note: 'EVP_PKEY_get1_EC_KEY' has been explicitly marked deprecated here
 1366 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:463:25: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
  463 |       const BIGNUM *s = EC_KEY_get0_private_key(ec);
      |                         ^
/usr/include/openssl/ec.h:1040:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
 1040 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:888:9: warning: 'BN_pseudo_rand' is deprecated [-Wdeprecated-declarations]
  888 |     if(!BN_pseudo_rand(ser, 64, 0, 0)) {
      |         ^
/usr/include/openssl/bn.h:229:1: note: 'BN_pseudo_rand' has been explicitly marked deprecated here
  229 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1585:22: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations]
 1585 |           RSA *rsa = EVP_PKEY_get1_RSA(pubkey);
      |                      ^
/usr/include/openssl/evp.h:1340:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here
 1340 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1591:14: warning: 'RSA_verify' is deprecated [-Wdeprecated-declarations]
 1591 |           if(RSA_verify(EVP_MD_type(md), data, data_len, signature, sig_len, rsa) == 1) {
      |              ^
/usr/include/openssl/rsa.h:350:1: note: 'RSA_verify' has been explicitly marked deprecated here
  350 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1605:24: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated [-Wdeprecated-declarations]
 1605 |           EC_KEY *ec = EVP_PKEY_get1_EC_KEY(pubkey);
      |                        ^
/usr/include/openssl/evp.h:1366:1: note: 'EVP_PKEY_get1_EC_KEY' has been explicitly marked deprecated here
 1366 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1606:14: warning: 'ECDSA_verify' is deprecated [-Wdeprecated-declarations]
 1606 |           if(ECDSA_verify(0, data, (int)data_len, signature, (int)sig_len, ec) == 1) {
      |              ^
/usr/include/openssl/ec.h:1439:1: note: 'ECDSA_verify' has been explicitly marked deprecated here
 1439 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1681:18: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations]
 1681 |       RSA *rsa = EVP_PKEY_get1_RSA(pubkey);
      |                  ^
/usr/include/openssl/evp.h:1340:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here
 1340 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1689:13: warning: 'RSA_public_encrypt' is deprecated [-Wdeprecated-declarations]
 1689 |       len = RSA_public_encrypt(sizeof(secret), secret, data, rsa, RSA_PKCS1_PADDING);
      |             ^
/usr/include/openssl/rsa.h:280:1: note: 'RSA_public_encrypt' has been explicitly marked deprecated here
  280 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1699:13: warning: 'RSA_padding_check_PKCS1_type_2' is deprecated [-Wdeprecated-declarations]
 1699 |       len = RSA_padding_check_PKCS1_type_2(secret2, sizeof(secret2), data + 1, len2 - 1, RSA_size(rsa));
      |             ^
/usr/include/openssl/rsa.h:384:1: note: 'RSA_padding_check_PKCS1_type_2' has been explicitly marked deprecated here
  384 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1699:90: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
 1699 |       len = RSA_padding_check_PKCS1_type_2(secret2, sizeof(secret2), data + 1, len2 - 1, RSA_size(rsa));
      |                                                                                          ^
/usr/include/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1722:20: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated [-Wdeprecated-declarations]
 1722 |       EC_KEY *ec = EVP_PKEY_get1_EC_KEY(pubkey);
      |                    ^
/usr/include/openssl/evp.h:1366:1: note: 'EVP_PKEY_get1_EC_KEY' has been explicitly marked deprecated here
 1366 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1734:16: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations]
 1734 |       tmpkey = EC_KEY_new_by_curve_name(nid);
      |                ^
/usr/include/openssl/ec.h:990:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here
  990 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1735:7: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations]
 1735 |       EC_KEY_generate_key(tmpkey);
      |       ^
/usr/include/openssl/ec.h:1093:1: note: 'EC_KEY_generate_key' has been explicitly marked deprecated here
 1093 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1736:7: warning: 'ECDH_compute_key' is deprecated [-Wdeprecated-declarations]
 1736 |       ECDH_compute_key(secret, len, EC_KEY_get0_public_key(ec), tmpkey, NULL);
      |       ^
/usr/include/openssl/ec.h:1288:1: note: 'ECDH_compute_key' has been explicitly marked deprecated here
 1288 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1736:37: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
 1736 |       ECDH_compute_key(secret, len, EC_KEY_get0_public_key(ec), tmpkey, NULL);
      |                                     ^
/usr/include/openssl/ec.h:1054:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
 1054 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1738:7: warning: 'i2o_ECPublicKey' is deprecated [-Wdeprecated-declarations]
 1738 |       i2o_ECPublicKey(tmpkey, &ptr);
      |       ^
/usr/include/openssl/ec.h:1237:1: note: 'i2o_ECPublicKey' has been explicitly marked deprecated here
 1237 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
yubico-piv-tool.c:1760:5: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
 1760 |     EC_KEY_free(tmpkey);
      |     ^
/usr/include/openssl/ec.h:995:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
  995 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I../lib -I../lib -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT openssl-compat.lo -MD -MP -MF .deps/openssl-compat.Tpo -c openssl-compat.c  -fPIC -DPIC -o .libs/openssl-compat.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I../lib -I../lib -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fPIC -DPIC -o .libs/util.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I../lib -I../lib -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT libpiv_cmd_la-cmdline.lo -MD -MP -MF .deps/libpiv_cmd_la-cmdline.Tpo -c cmdline.c  -fPIC -DPIC -o .libs/libpiv_cmd_la-cmdline.o
51 warnings generated.
mv -f .deps/yubico-piv-tool.Tpo .deps/yubico-piv-tool.Po
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I../lib -I../lib -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT openssl-compat.lo -MD -MP -MF .deps/openssl-compat.Tpo -c openssl-compat.c -o openssl-compat.o >/dev/null 2>&1
mv -f .deps/openssl-compat.Tpo .deps/openssl-compat.Plo
util.c:89:20: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations]
   89 |         RSA *rsa = EVP_PKEY_get1_RSA(key);
      |                    ^
/usr/include/openssl/evp.h:1340:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here
 1340 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
util.c:90:20: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
   90 |         int size = RSA_size(rsa);
      |                    ^
/usr/include/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
util.c:102:22: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated [-Wdeprecated-declarations]
  102 |         EC_KEY *ec = EVP_PKEY_get1_EC_KEY(key);
      |                      ^
/usr/include/openssl/evp.h:1366:1: note: 'EVP_PKEY_get1_EC_KEY' has been explicitly marked deprecated here
 1366 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
util.c:103:33: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations]
  103 |         const EC_GROUP *group = EC_KEY_get0_group(ec);
      |                                 ^
/usr/include/openssl/ec.h:1026:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here
 1026 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
util.c:544:11: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations]
  544 |     rsa = EVP_PKEY_get1_RSA(pkey);
      |           ^
/usr/include/openssl/evp.h:1340:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here
 1340 | OSSL_DEPRECATEDIN_3_0
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
util.c:545:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
  545 |     RSA_get0_key(rsa, &bn_n, NULL, NULL);
      |     ^
/usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
util.c:547:33: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
  547 |     if (!set_component(n, bn_n, RSA_size(rsa))) {
      |                                 ^
/usr/include/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
util.c:578:23: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
  578 |     BIO_write(b64, n, RSA_size(rsa));
      |                       ^
/usr/include/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      | ^
/usr/include/openssl/macros.h:181:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
  181 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
      |                               ^
/usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
   61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
      |                                               ^
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I../lib -I../lib -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT libpiv_cmd_la-cmdline.lo -MD -MP -MF .deps/libpiv_cmd_la-cmdline.Tpo -c cmdline.c -o libpiv_cmd_la-cmdline.o >/dev/null 2>&1
8 warnings generated.
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I../lib -I../lib -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
mv -f .deps/util.Tpo .deps/util.Plo
/bin/sh ../libtool  --tag=CC   --mode=link cc    -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -o libpiv_util.la  util.lo openssl-compat.lo ../lib/libykpiv.la -L/usr/lib -lcrypto 
mv -f .deps/libpiv_cmd_la-cmdline.Tpo .deps/libpiv_cmd_la-cmdline.Plo
/bin/sh ../libtool  --tag=CC   --mode=link cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -o libpiv_cmd.la  libpiv_cmd_la-cmdline.lo  
libtool: link: ar cru .libs/libpiv_cmd.a .libs/libpiv_cmd_la-cmdline.o 
libtool: link: ar cru .libs/libpiv_util.a .libs/util.o .libs/openssl-compat.o 
libtool: link: ranlib .libs/libpiv_cmd.a
libtool: link: ranlib .libs/libpiv_util.a
libtool: link: ( cd ".libs" && rm -f "libpiv_cmd.la" && ln -s "../libpiv_cmd.la" "libpiv_cmd.la" )
libtool: link: ( cd ".libs" && rm -f "libpiv_util.la" && ln -s "../libpiv_util.la" "libpiv_util.la" )
/bin/sh ../libtool  --tag=CC   --mode=link cc    -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -o yubico-piv-tool yubico-piv-tool.o -L/usr/lib -lcrypto ../lib/libykpiv.la libpiv_cmd.la libpiv_util.la 
libtool: link: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/yubico-piv-tool yubico-piv-tool.o  -L/usr/lib ../lib/.libs/libykpiv.so ./.libs/libpiv_cmd.a ./.libs/libpiv_util.a /magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/lib/.libs/libykpiv.so -L/usr/local/lib -lpcsclite -lcrypto -Wl,-rpath -Wl,/usr/local/lib
gmake[3]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool'
Making all in tests
gmake[3]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool/tests'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool/tests'
gmake[2]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool'
gmake[1]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/tool'
Making all in ykcs11
gmake[1]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/ykcs11'
Making all in .
gmake[2]: Entering directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/ykcs11'
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT ykcs11.lo -MD -MP -MF .deps/ykcs11.Tpo -c -o ykcs11.lo ykcs11.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT vendors.lo -MD -MP -MF .deps/vendors.Tpo -c -o vendors.lo vendors.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT slot_vendors.lo -MD -MP -MF .deps/slot_vendors.Tpo -c -o slot_vendors.lo slot_vendors.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT token_vendors.lo -MD -MP -MF .deps/token_vendors.Tpo -c -o token_vendors.lo token_vendors.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT mechanisms.lo -MD -MP -MF .deps/mechanisms.Tpo -c -o mechanisms.lo mechanisms.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT yubico_slot.lo -MD -MP -MF .deps/yubico_slot.Tpo -c -o yubico_slot.lo yubico_slot.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT yubico_token.lo -MD -MP -MF .deps/yubico_token.Tpo -c -o yubico_token.lo yubico_token.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c -o utils.lo utils.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT openssl_utils.lo -MD -MP -MF .deps/openssl_utils.Tpo -c -o openssl_utils.lo openssl_utils.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" -DPACKAGE_STRING=\"yubico-piv-tool\ 1.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I.  -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -MT objects.lo -MD -MP -MF .deps/objects.Tpo -c -o objects.lo objects.c
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT vendors.lo -MD -MP -MF .deps/vendors.Tpo -c vendors.c  -fPIC -DPIC -o .libs/vendors.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT ykcs11.lo -MD -MP -MF .deps/ykcs11.Tpo -c ykcs11.c  -fPIC -DPIC -o .libs/ykcs11.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT yubico_slot.lo -MD -MP -MF .deps/yubico_slot.Tpo -c yubico_slot.c  -fPIC -DPIC -o .libs/yubico_slot.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT mechanisms.lo -MD -MP -MF .deps/mechanisms.Tpo -c mechanisms.c  -fPIC -DPIC -o .libs/mechanisms.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT objects.lo -MD -MP -MF .deps/objects.Tpo -c objects.c  -fPIC -DPIC -o .libs/objects.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT slot_vendors.lo -MD -MP -MF .deps/slot_vendors.Tpo -c slot_vendors.c  -fPIC -DPIC -o .libs/slot_vendors.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT openssl_utils.lo -MD -MP -MF .deps/openssl_utils.Tpo -c openssl_utils.c  -fPIC -DPIC -o .libs/openssl_utils.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c  -fPIC -DPIC -o .libs/utils.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT token_vendors.lo -MD -MP -MF .deps/token_vendors.Tpo -c token_vendors.c  -fPIC -DPIC -o .libs/token_vendors.o
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT yubico_token.lo -MD -MP -MF .deps/yubico_token.Tpo -c yubico_token.c  -fPIC -DPIC -o .libs/yubico_token.o
In file included from openssl_utils.c:31:
In file included from ./openssl_utils.h:39:
In file included from ./openssl_types.h:34:
In file included from /usr/include/openssl/bn.h:26:
In file included from /usr/include/openssl/crypto.h:41:
/usr/include/openssl/core.h:72:11: error: unknown type name 'OSSL_DISPATCH'
   72 |     const OSSL_DISPATCH *implementation;
      |           ^
/usr/include/openssl/core.h:190:11: error: unknown type name 'OSSL_DISPATCH'
  190 |     const OSSL_DISPATCH *in,
      |           ^
/usr/include/openssl/core.h:191:11: error: unknown type name 'OSSL_DISPATCH'
  191 |     const OSSL_DISPATCH **out,
      |           ^
/usr/include/openssl/core.h:215:34: error: unknown type name 'OSSL_PARAM'
  215 | typedef int(OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg);
      |                                  ^
/usr/include/openssl/core.h:216:40: error: unknown type name 'OSSL_PARAM'
  216 | typedef int(OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[],
      |                                        ^
/usr/include/openssl/core.h:217:5: error: unknown type name 'OSSL_PARAM'
  217 |     OSSL_PARAM out_params[], void *arg);
      |     ^
/usr/include/openssl/core.h:226:11: error: unknown type name 'OSSL_PARAM'
  226 |     const OSSL_PARAM params[], void *arg);
      |           ^
In file included from openssl_utils.c:31:
In file included from ./openssl_utils.h:39:
In file included from ./openssl_types.h:34:
In file included from /usr/include/openssl/bn.h:26:
/usr/include/openssl/crypto.h:185:5: error: unknown type name 'OSSL_LIB_CTX'
  185 |     OSSL_LIB_CTX *ctx;
      |     ^
/usr/include/openssl/crypto.h:243:53: error: unknown type name 'CRYPTO_EX_DATA'
  243 | typedef void CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
      |                                                     ^
/usr/include/openssl/crypto.h:245:54: error: unknown type name 'CRYPTO_EX_DATA'; did you mean 'CRYPTO_EX_new'?
  245 | typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
      |                                                      ^
/usr/include/openssl/crypto.h:243:14: note: 'CRYPTO_EX_new' declared here
  243 | typedef void CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
      |              ^
/usr/include/openssl/crypto.h:247:27: error: unknown type name 'CRYPTO_EX_DATA'
  247 | typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
      |                           ^
/usr/include/openssl/crypto.h:247:53: error: unknown type name 'CRYPTO_EX_DATA'
  247 | typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, const CRYPTlibtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT slot_vendors.lo -MD -MP -MF .deps/slot_vendors.Tpo -c slot_vendors.c -o slot_vendors.o >/dev/null 2>&1
O_EX_DATA *from,
      |                                                     ^
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT yubico_slot.lo -MD -MP -MF .deps/yubico_slot.Tpo -c yubico_slot.c -o yubico_slot.o >/dev/null 2>&1
/usr/include/openssl/crypto.h:260:52: error: unknown type name 'CRYPTO_EX_DATA'
  260 | int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
      |                                                    ^
/usr/include/openssl/crypto.h:261:41: error: unknown type name 'CRYPTO_EX_DATA'
  261 | int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
      |                                         ^
/usr/include/openssl/crypto.h:262:11: error: unknown type name 'CRYPTO_EX_DATA'
  262 |     const CRYPTO_EX_DATA *from);
      |           ^
/usr/include/openssl/crypto.h:264:54: error: unknown type name 'CRYPTO_EX_DATA'
  264 | void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
      |                                                      ^
/usr/include/openssl/crypto.h:267:54: error: unknown type name 'CRYPTO_EX_DATA'
  267 | int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad,
      |                                                      ^
/usr/include/openssl/crypto.h:274:24: error: unknown type name 'CRYPTO_EX_DATA'
  274 | int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val);
      |                        ^
/usr/include/openssl/crypto.h:275:32: error: unknown type name 'CRYPTO_EX_DATA'
  275 | void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
      |                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
mv -f .deps/slot_vendors.Tpo .deps/slot_vendors.Plo
mv -f .deps/yubico_slot.Tpo .deps/yubico_slot.Plo
In file included from ykcs11.c:31:
./ykcs11.h:77:3: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   77 |   ykcs11_md_ctx_t   *md_ctx; // Digest context
      |   ^~~~~~~~~~~~~~~
      |   ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from objects.c:32:
In file included from ./objects.h:34:
./ykcs11.h:77:3: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   77 |   ykcs11_md_ctx_t   *md_ctx; // Digest context
      |   ^~~~~~~~~~~~~~~
      |   ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from mechanisms.c:31:
In file included from ./mechanisms.h:34:
./ykcs11.h:77:3: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   77 |   ykcs11_md_ctx_t   *md_ctx; // Digest context
      |   ^~~~~~~~~~~~~~~
      |   ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
./ykcs11.h:78:3: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
   78 |   ykcs11_rsa_key_t  *key;    // Raw public key (needed for PSS)
      |   ^~~~~~~~~~~~~~~~
      |   ykcs11_token_t
./ykcs11.h:47:3: note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
./ykcs11.h:78:3: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
   78 |   ykcs11_rsa_key_t  *key;    // Raw public key (needed for PSS)
      |   ^~~~~~~~~~~~~~~~
      |   ykcs11_token_t
./ykcs11.h:47:3: note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
./ykcs11.h:78:3: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
   78 |   ykcs11_rsa_key_t  *key;    // Raw public key (needed for PSS)
      |   ^~~~~~~~~~~~~~~~
      |   ykcs11_token_t
./ykcs11.h:47:3: note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
libtool: compile:  cc -DPACKAGE_NAME=\"yubico-piv-tool\" -DPACKAGE_TARNAME=\"yubico-piv-tool\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"yubico-piv-tool 1.7.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yubico-piv-tool\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DBACKEND_PCSC=1 -DYKCS11_DBG=0 -DYKCS11_DINOUT=0 -I. -I/usr/include -I/usr/local/include/PCSC -pthread -I../lib -I../lib -I../tool -I../tool -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT vendors.lo -MD -MP -MF .deps/vendors.Tpo -c vendors.c -o vendors.o >/dev/null 2>&1
In file included from ykcs11.c:41:
./openssl_utils.h:60:32: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
   60 | CK_RV do_encode_rsa_public_key(ykcs11_rsa_key_t **key, CK_BYTE_PTR modulus, CK_ULONG mlenIn file included from objects.c:36:
./openssl_utils.h:60:32: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
, CK_BYTE_PTR exponent, CK_U   60 | CK_RV do_encode_rsa_public_key(ykLONG elen);
cs1      | 1_rsa_key_t **key, CK_BYTE_PTR modulus, CK_ULONG m                               ^~~~~~~~~~~~~~~~
len, CK_BYTE_PTR expone      |                                ykcs11_token_t
n./ykcs11.h:t, CK_ULONG elen);
47:3:       |                                ^~~~~~~~~~~~~~~~
      |                                ykcs11_token_t
note: 'ykcs11_token_t' declared here
./ykcs11.h:47   47 | } ykcs11_tok:3: en_t;
      |   ^
note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
In file included from mechanisms.c:32:
./openssl_utils.h:60:32: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
   60 | CK_RV do_encode_rsa_public_key(ykcs11_rsa_key_t **key, CK_BYTE_PTR modulus, CK_ULONG mlen, CK_BYTE_PTR exponent, CK_ULONG elen);
      |                                ^~~~~~~~~~~~~~~~
      |                                ykcs11_token_t
./ykcs11.h:47:3: note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
In file included from ykcs11.c:41:
./openssl_utils.h:61:30: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
In file included from objects.c:   61 | 36:
CK_RV do_free_rsa_./openssl_utils.h:61:30public_key(ykc: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
s   61 | CK_RV do_free_rsa_public11_rsa__key(ykcs11_rsa_key_t *key);
      |                              ^~~~~~~~~~~~~~~~
      |                              ykcs11_token_t
k./ykcs11.h:47:3: note: ey_t *key);
      'ykcs11_token_t' declared here
|                              ^~~~~~~~~~~~~~~~
         47 | |                              ykcs11_token_t
}./ykcs11.h:47: ykcs11_token_t;
      | 3: note: 'ykcs11_token_t' declared here
  ^
   47 | } ykcs11_token_t;
      |   ^
In file included from objects.c:36:
./openssl_utils.h:69:18: error: unknown type name 'hash_t'
   69 | CK_RV do_md_init(hash_t hasIn file included from ykcs11.c:h, ykcs11_md_ctx_41:
./openssl_utils.h:69t **:18: error: unknown type name 'hash_t'
ct   In file included from mechanisms.c:32:
./openssl_utils.h:61:30: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
69 | CK_RV dox);
      |                  ^_   61 | CK_RV do_free_rsa_public_key(ykcs11_rsa_key_t *key);
      |                              ^~~~~~~~~~~~~~~~
      |                              ykcs11_token_t

./ykcs11.h:47:3md_init(hash_t hash, ykcs11_md_ctx_t **ctx);
      |                  ^
: note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
In file included from mechanisms.c:32:
./openssl_utils.h:69:18: error: unknown type name 'hash_t'
   69 | CK_RV do_md_init(hash_t hash, ykcs11_md_ctx_t **ctx);
      |                  ^
./openssl_utils.h:69:31: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   69 | CK_RV do_md_init(hash_t hash, ykcs11_md_ctx_t **ctx);
      |                               ^~~~~~~~~~~~~~~
      |                               ykcs11_slot_t
./openssl_utils.h:69./ykcs11.h:53:31: :3:error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
 note: 'ykcs11_slot_t' declared here
   69 | CK_   53 | }RV do_md_init(ha ykcs11_slot_t;
      |   ^
sh_t hash, ykcs11_md_ctx_t **ctx);
      |                               ^~~~~~~~~~~~~~~
      |                               ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
./openssl_utils.h:69:31: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   69 | CK_RV do_md_init(hash_t hash, ykcs11_md_ctx_t **ctx);
      |                               ^~~~~~~~~~~~~~~
      |                               ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from objects.c:36:
./openssl_utils.h:70:20: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   70 | CK_RV do_md_update(ykcs11_md_ctx_t *ctx, CK_BYTE_PTR in, CK_ULONG in_leIn file included from ykcs11.c:41:
./openssl_utils.hn);
      |                    ^~~~~~~~~~~~~~~:70
      |                    ykcs11_slot_t
:./ykcs11.h:5320: :3:error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
 note: 'ykcs11_slot_t' declared here
   70 | C   53 | } ykcs11_slot_tK_RV;
      |   ^
 do_md_updIn file included from mechanisms.c:32:
./openssl_utils.h:70:20: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
a   70 | CK_RV do_md_update(ykcs11_md_ctx_t *ctx, CK_BYTE_PTR in, CKte(ykcs11_md_ctx_t *ctx, CK_BYTE_PTR in, CK_ULONG in_len);
      |                    ^~~~~~~~~~~~~~~
      _ULONG in_len);
      |                    ^~~~~~~~~~~~~~~
      |                    ykcs11_slot_t
|                    ykcs11_slot_t./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here

   53 | } ykcs11_slot_t;
      |   ^
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from objects.c:36:
./openssl_utils.h:71:22: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   71 | CK_RV do_md_finalize(ykcs11_md_ctx_t *ctx, CK_BYTE_PTR out, CK_ULONG_PTR out_len, int *nid);
      |                      ^~~~~~~~~~~~~~~
      |                      ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from mechanisms.c:32:
./openssl_utils.h:71:22: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   71 | CK_RV do_md_finalize(ykcs11_md_ctx_t *ctx, CK_BYTE_PTR out, CK_ULONG_PTR out_len, int *nid);
      |                      ^~~~~~~~~~~~~~~
      |                      ykcs11_slot_t
./ykcs11.h:53In file included from ykcs11.c:41:
./openssl_utils.h:71:22: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
:3:    71 | CK_RV note: do'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_md_finalize(ykcs11_md_ctx_t *ctx, CK_BYT_E_PTR ot;
      |   ^
ut, CK_ULONG_PTR out_len, int *nid);
      |                      ^~~~~~~~~~~~~~~
      |                      ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from objects.c:36:
./openssl_utils.h:72:21: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   72 | CK_RV do_md_cleanup(ykcs11_md_ctx_t *ctx);
      |                     ^~~~~~~~~~~~~~~
      |                     ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from mechanisms.c:32:
./openssl_utils.h:72:21: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   72 | CK_RV do_md_cleanup(ykcs11_md_ctx_t *ctx);
      |                     ^~~~~~~~~~~~~~~
      |                     ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
In file included from ykcs11.c:41:
./openssl_utils.h:72:21: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
   72 | CK_RV do_md_cleanup(ykcs11_md_ctx_t *ctx);
      |                     ^~~~~~~~~~~~~~~
      |                     ykcs11_slot_t
./ykcs11.h:53:3: note: 'ykcs11_slot_t' declared here
   53 | } ykcs11_slot_t;
      |   ^
mechanisms.c:202:25: error: use of undeclared identifier 'YKCS11_SHA1'
  202 |       return do_md_init(YKCS11_SHA1, &op_info->op.sign.md_ctx);
      |                         ^
In file included from token_vendors.c:33:
./openssl_utils.h:60:32: error: unknown type name 'ykcs11_rsa_key_t'
   60 | CK_RV do_encode_rsa_public_key(ykcs1In file included from utils.c:1_rsa_key_t **key, CK_BYTE_PTR modulus, CK_ULONG mlen, CK_BYTE_PTR exponent, CK_ULONG elen);
      |                                ^
31:
In file included from ./utils.h:34:
./ykcs11.h:77:3: error: unknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?
In file included from yubico_token.c:35:
In file included from ./objects.h:34:
./ykcs11.h   77 |   ykcs11_md_ctx_t   *md_ctx; :77:3: error: mechanisms.c:207// Digesunknown type name 'ykcs11_md_ctx_t'; did you mean 'ykcs11_slot_t'?t context

      |    77 |   ykcs11_md_ctx_t   *md_ctx;   ^~~~~~~~~~~~~~~
// Digest context
      |   ^~~~~~~~~~~~~~~
      |   ykcs11_slot_t
      |   ykcs11_slot_t
./ykcs11.h:53./ykcs11.h:53::3: 3: note: 'ykcs11_slot_t' declared here
:25: error:    53 | use of undeclared identifier 'YKCS11_SHA256'; did you mean 'YKCS11_HASH'?
} ykcnote: 'ykcs11_slot_t' declared here
s   53 | } ykcs11_slot_t;
      |   ^
  207 |       return do_md_init(YKCS11_SHA256, &op_info->op.11_slot_t;sign.md_ctx);

      |   ^
      |                         ^~~~~~~~~~~~~
      |                         YKCS11_HASH
./ykcs11.h:65:3: note: 'YKCS11_HASH' declared here
   65 |   YKCS11_HASH,
      |   ^
mechanisms.c:211:25: error: use of undeclared identifier 'YKCS11_SHA384'; did you mean 'YKCS11_HASH'?
  211 |       return do_md_init(YKCS11_SHA384, &op_info->op.sign.md_ctx);
      |                         ^~~~~~~~~~~~~
      |                         YKCS11_HASH
./ykcs11.h:65:3: note: 'YKCS11_HASH' declared here
   65 |   YKCS11_HASH,
      |   ^
./openssl_utils.h:61:30: error: unknown type name 'ykcs11_rsa_key_t'
   61 | CK_RV do_free_rsa_public_key(ykcs11_rsa_key_t *key);
      |                              ^
./openssl_utils.h:69:18: error: unknown type name 'hash_t'
   69 | CK_RV do_md_init(hash_t hash, ykcs11_md_ctx_t **ctx);
      |                  ^
9 errors generated.
./ykcs11.h:78:3: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
   78 |   ykcs11_rsa_key_t  *key;    // Raw public key (needed for PSS)
      |   ^~~~~~~~~~~~~~~~
      |   ykcs11_token_t
./ykcs11.h:47:3: note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
./ykcs11.h:78:3: error: unknown type name 'ykcs11_rsa_key_t'; did you mean 'ykcs11_token_t'?
   78 |   ykcs11_rsa_key_t  *key;    // Raw public key (needed for PSS)
      |   ^~~~~~~~~~~~~~~~
      |   ykcs11_token_t
./ykcs11.h:47:3: note: 'ykcs11_token_t' declared here
   47 | } ykcs11_token_t;
      |   ^
mechanisms.c:215:25: error: use of undeclared identifier 'YKCS11_SHA512'; did you mean 'YKCS11_HASH'?
  215 |       return do_md_init(YKCS11_SHA512, &op_info->op.sign.md_ctx);
      |                         ^~~~~~~~~~~~~
      |                         YKCS11_HASH
./ykcs11.h:65:3: note: 'YKCS11_HASH' declared here
   65 |   YKCS11_HASH,
      |   ^
mechanisms.c:284:22: warning: incompatible pointer types passing 'ykcs11_token_t *' to parameter of type 'RSA *' (aka 'struct rsa_st *') [-Wincompatible-pointer-types]
  284 |     rv = do_pkcs_pss(op_info->op.sign.key, op_info->buf, op_info->buf_len, nid, op_info->buf, &op_info->buf_len);
      |                      ^~~~~~~~~~~~~~~~~~~~
./openssl_utils.h:66:24: note: passing argument to parameter 'key' here
   66 | CK_RV do_pkcs_pss(RSA *key, CK_BYTE_PTR in, CK_ULONG in_len, int nid,
      |                        ^
./openssl_utils.h:69:31: error: unknown type name 'ykcs11_md_ctx_t'
   69 | CK_RV do_md_init(hash_t hash, ykcs11_md_ctx_t **ctx);
      |                               ^
2 errors generated.
2 errors generated.
1 warning and 13 errors generated.
9 errors generated.
./openssl_utils.h:70:20: error: unknown type name 'ykcs11_md_ctx_t'
   70 | CK_RV do_md_update(ykcs11_md_ctx_t *ctx, CK_BYTE_PTR in, CK_ULONG in_len);
      |                    ^
gmake[2]: *** [Makefile:582: objects.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
./openssl_utils.h:71:22: error: unknown type name 'ykcs11_md_ctx_t'
   71 | CK_RV do_md_finalize(ykcs11_md_ctx_t *ctx, CK_BYTE_PTR out, CK_ULONG_PTR out_len, int *nid);
      |                      ^
gmake[2]: *** [Makefile:582: mechanisms.lo] Error 1
gmake[2]: *** [Makefile:582: utils.lo] Error 1
gmake[2]: *** [Makefile:582: yubico_token.lo] Error 1
gmake[2]: *** [Makefile:582: ykcs11.lo] Error 1
./openssl_utils.h:72:21: error: unknown type name 'ykcs11_md_ctx_t'
   72 | CK_RV do_md_cleanup(ykcs11_md_ctx_t *ctx);
      |                     ^
7 errors generated.
gmake[2]: *** [Makefile:582: token_vendors.lo] Error 1
20 errors generated.
gmake[2]: *** [Makefile:582: openssl_utils.lo] Error 1
mv -f .deps/vendors.Tpo .deps/vendors.Plo
gmake[2]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/ykcs11'
gmake[1]: *** [Makefile:622: all-recursive] Error 1
gmake[1]: Leaving directory '/magus/work/usr/mports/security/yubico-piv-tool/work/yubico-piv-tool-1.7.0/ykcs11'
gmake: *** [Makefile:471: all-recursive] Error 1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/security/yubico-piv-tool

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis