]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libssh: fix indent
authorViktor Szakats <commit@vsz.me>
Mon, 29 Dec 2025 20:12:13 +0000 (21:12 +0100)
committerViktor Szakats <commit@vsz.me>
Wed, 31 Dec 2025 17:49:53 +0000 (18:49 +0100)
Closes #20135

lib/vssh/libssh.c

index bde6355f73d9a30cafac214edeba992c5bb7569d..3e6cb3a832329fd33bde629e624dc0d11ff09dd1 100644 (file)
@@ -924,8 +924,8 @@ static int myssh_in_AUTHLIST(struct Curl_easy *data,
   /* For public key auth we need either the private key or
      CURLSSH_AUTH_AGENT. */
   if((sshc->auth_methods & SSH_AUTH_METHOD_PUBLICKEY) &&
-    (data->set.str[STRING_SSH_PRIVATE_KEY] ||
-     (data->set.ssh_auth_types & CURLSSH_AUTH_AGENT))) {
+     (data->set.str[STRING_SSH_PRIVATE_KEY] ||
+      (data->set.ssh_auth_types & CURLSSH_AUTH_AGENT))) {
     myssh_to(data, sshc, SSH_AUTH_PKEY_INIT);
     infof(data, "Authentication using SSH public key file");
   }