upstream: fix compilation on !HAVE_DLOPEN platforms; stub function

was not updated to match API change. From Dale Rahn via beck@ ok markus@

OpenBSD-Commit-ID: 2b8d054afe34c9ac85e417dae702ef981917b836
This commit is contained in:
djm@openbsd.org 2020-05-29 03:14:02 +00:00 committed by Damien Miller
parent 224418cf55
commit 4c60724405

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh-pkcs11.c,v 1.49 2020/03/13 04:16:27 djm Exp $ */
/* $OpenBSD: ssh-pkcs11.c,v 1.50 2020/05/29 03:14:02 djm Exp $ */
/*
* Copyright (c) 2010 Markus Friedl. All rights reserved.
* Copyright (c) 2014 Pedro Martelletto. All rights reserved.
@ -1859,7 +1859,8 @@ pkcs11_init(int interactive)
}
int
pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp)
pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp,
char ***labelsp)
{
error("%s: dlopen() not supported", __func__);
return (-1);