You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
616 B
17 lines
616 B
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c |
|
index 6be647ec..ebddf6c3 100644 |
|
--- a/ssh-pkcs11.c |
|
+++ b/ssh-pkcs11.c |
|
@@ -1537,10 +1537,8 @@ pkcs11_register_provider(char *provider_id, char *pin, |
|
error("dlopen %s failed: %s", provider_module, dlerror()); |
|
goto fail; |
|
} |
|
- if ((getfunctionlist = dlsym(handle, "C_GetFunctionList")) == NULL) { |
|
- error("dlsym(C_GetFunctionList) failed: %s", dlerror()); |
|
- goto fail; |
|
- } |
|
+ if ((getfunctionlist = dlsym(handle, "C_GetFunctionList")) == NULL) |
|
+ fatal("dlsym(C_GetFunctionList) failed: %s", dlerror()); |
|
|
|
p->module->handle = handle; |
|
/* setup the pkcs11 callbacks */
|
|
|