unbreak fuzz harness for recent changes

This commit is contained in:
Damien Miller 2021-10-29 13:48:34 +11:00
parent 68e522ed81
commit a1217d363b
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ FUZZ_LIBS=-lFuzzer
CXXFLAGS=-O2 -g -Wall -Wextra -Wno-unused-parameter -I ../../.. $(FUZZ_FLAGS)
CFLAGS=$(CXXFLAGS)
LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS)
LIBS=-lssh -lopenbsd-compat -lcrypto -lfido2 -lcbor $(FUZZ_LIBS)
LIBS=-lssh -lopenbsd-compat -lmd -lcrypto -lfido2 -lcbor $(FUZZ_LIBS)
SK_NULL_OBJS=ssh-sk-null.o
COMMON_DEPS=../../../libssh.a

View File

@ -43,7 +43,8 @@ sshsk_sign(const char *provider_path, struct sshkey *key,
int
sshsk_load_resident(const char *provider_path, const char *device,
const char *pin, struct sshkey ***keysp, size_t *nkeysp)
const char *pin, u_int flags, struct sshsk_resident_key ***srksp,
size_t *nsrksp)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}