]> git.ipfire.org Git - thirdparty/git.git/blobdiff - gpg-interface.c
The fifth batch
[thirdparty/git.git] / gpg-interface.c
index 1ee2c94a3b2be3de03c2194b9500357e60c255cb..1ff94266d2eb5e5cc30bb4378a469050181d4a48 100644 (file)
@@ -586,8 +586,8 @@ static int verify_ssh_signed_buffer(struct signature_check *sigc,
                }
        }
 
-       strbuf_stripspace(&ssh_keygen_out, '\0');
-       strbuf_stripspace(&ssh_keygen_err, '\0');
+       strbuf_stripspace(&ssh_keygen_out, NULL);
+       strbuf_stripspace(&ssh_keygen_err, NULL);
        /* Add stderr outputs to show the user actual ssh-keygen errors */
        strbuf_add(&ssh_keygen_out, ssh_principals_err.buf, ssh_principals_err.len);
        strbuf_add(&ssh_keygen_out, ssh_keygen_err.buf, ssh_keygen_err.len);