version 1.261, 2020/06/22 06:37:38 |
version 1.262, 2020/07/05 23:59:45 |
|
|
#include "ssh-pkcs11.h" |
#include "ssh-pkcs11.h" |
#include "sk-api.h" |
#include "sk-api.h" |
|
|
#ifndef DEFAULT_PROVIDER_WHITELIST |
#ifndef DEFAULT_ALLOWED_PROVIDERS |
# define DEFAULT_PROVIDER_WHITELIST "/usr/lib*/*,/usr/local/lib*/*" |
# define DEFAULT_ALLOWED_PROVIDERS "/usr/lib*/*,/usr/local/lib*/*" |
#endif |
#endif |
|
|
/* Maximum accepted message length */ |
/* Maximum accepted message length */ |
|
|
usage(); |
usage(); |
|
|
if (allowed_providers == NULL) |
if (allowed_providers == NULL) |
allowed_providers = xstrdup(DEFAULT_PROVIDER_WHITELIST); |
allowed_providers = xstrdup(DEFAULT_ALLOWED_PROVIDERS); |
|
|
if (ac == 0 && !c_flag && !s_flag) { |
if (ac == 0 && !c_flag && !s_flag) { |
shell = getenv("SHELL"); |
shell = getenv("SHELL"); |