mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
remove HAVE_DLOPEN that snuck in
portable doesn't use this
This commit is contained in:
parent
e2cb445d78
commit
5de6ac2bad
@ -78,7 +78,6 @@ struct pkcs11_key {
|
|||||||
|
|
||||||
int pkcs11_interactive = 0;
|
int pkcs11_interactive = 0;
|
||||||
|
|
||||||
#ifdef HAVE_DLOPEN
|
|
||||||
static void
|
static void
|
||||||
ossl_error(const char *msg)
|
ossl_error(const char *msg)
|
||||||
{
|
{
|
||||||
@ -88,7 +87,6 @@ ossl_error(const char *msg)
|
|||||||
error("%s: %s: %.100s", __func__, msg,
|
error("%s: %s: %.100s", __func__, msg,
|
||||||
ERR_error_string(e, NULL));
|
ERR_error_string(e, NULL));
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
pkcs11_init(int interactive)
|
pkcs11_init(int interactive)
|
||||||
@ -1675,7 +1673,7 @@ out:
|
|||||||
return (k);
|
return (k);
|
||||||
}
|
}
|
||||||
#endif /* WITH_PKCS11_KEYGEN */
|
#endif /* WITH_PKCS11_KEYGEN */
|
||||||
#else /* HAVE_DLOPEN */
|
#else /* ENABLE_PKCS11 */
|
||||||
int
|
int
|
||||||
pkcs11_init(int interactive)
|
pkcs11_init(int interactive)
|
||||||
{
|
{
|
||||||
@ -1695,4 +1693,4 @@ pkcs11_terminate(void)
|
|||||||
{
|
{
|
||||||
error("%s: dlopen() not supported", __func__);
|
error("%s: dlopen() not supported", __func__);
|
||||||
}
|
}
|
||||||
#endif /* HAVE_DLOPEN */
|
#endif /* ENABLE_PKCS11 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user