mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-11-06 05:16:43 +00:00
upstream: Don't snprintf a NULL since not all platforms support it.
OpenBSD-Commit-ID: 6e0c268e40047e96fab6bc56dc340580b537183b
This commit is contained in:
1 parent
eedab8db12
commit
ed1e370d84
1 file changed
+2
-2
+2
-2
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ssh-pkcs11-client.c,v 1.22 2025/07/24 23:27:04 djm Exp $ */
|
||||
/* $OpenBSD: ssh-pkcs11-client.c,v 1.23 2025/07/25 11:50:45 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2010 Markus Friedl. All rights reserved.
|
||||
* Copyright (c) 2014 Pedro Martelletto. All rights reserved.
|
||||
@@ -450,7 +450,7 @@ pkcs11_del_provider(char *name)
|
||||
* ssh-agent deletes keys before calling this, so the helper entry
|
||||
* should be gone before we get here.
|
||||
*/
|
||||
debug3_f("delete %s", name);
|
||||
debug3_f("delete %s", name ? name : "(null)");
|
||||
if ((helper = helper_by_provider(name)) != NULL)
|
||||
helper_terminate(helper);
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user