diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-02-21 06:19:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-02-21 06:19:09 +0000 |
commit | 3ba047b587fc87992b7999b38db6418f7efc04ea (patch) | |
tree | 861517a274438fe5249e5f29b34808c7b0c7d439 /usr.bin/ssh | |
parent | 6888119dc54b37c4018c01fc7f0aeedcc01a930e (diff) |
dlclose() call should also be #ifdef HAVE_DLOPEN
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/ssh-pkcs11.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/ssh/ssh-pkcs11.c b/usr.bin/ssh/ssh-pkcs11.c index 39ba7849f47..81e9865c494 100644 --- a/usr.bin/ssh/ssh-pkcs11.c +++ b/usr.bin/ssh/ssh-pkcs11.c @@ -97,7 +97,9 @@ pkcs11_provider_finalize(struct pkcs11_provider *p) error("C_Finalize failed: %lu", rv); p->valid = 0; p->function_list = NULL; +#ifdef HAVE_DLOPEN dlclose(p->handle); +#endif } /* |