ykpersonalize_LDADD = ./libykpers-1.la ./ykcore/libykcore.la
ykchalresp_SOURCES = ykchalresp.c
-ykchalresp_LDADD = ./libykpers-1.la ./ykcore/libykcore.la
+ykchalresp_LDADD = ./ykcore/libykcore.la
ykinfo_SOURCES = ykinfo.c
ykinfo_LDADD = ./ykcore/libykcore.la
#include <stdio.h>
#include <unistd.h>
-#include <ykpers.h>
#include <yubikey.h>
#include <ykdef.h>
+#include <ykcore.h>
+#include <ykstatus.h>
const char *usage =
"Usage: ykchalresp [options] challenge\n"
static void report_yk_error(void)
{
- if (ykp_errno)
- fprintf(stderr, "Yubikey personalization error: %s\n",
- ykp_strerror(ykp_errno));
if (yk_errno) {
if (yk_errno == YK_EUSBERR) {
fprintf(stderr, "USB error: %s\n",
unsigned int challenge_len;
int slot = 1;
- ykp_errno = 0;
yk_errno = 0;
if (! parse_args(argc, argv,