diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c index a772f1f9b7..8ccfe68a87 100644 --- a/lib/vssh/libssh2.c +++ b/lib/vssh/libssh2.c @@ -3610,7 +3610,7 @@ void Curl_ssh_cleanup(void) void Curl_ssh_version(char *buffer, size_t buflen) { - (void)msnprintf(buffer, buflen, "libssh2/%s", LIBSSH2_VERSION); + (void)msnprintf(buffer, buflen, "libssh2/%s", CURL_LIBSSH2_VERSION); } /* The SSH session is associated with the *CONNECTION* but the callback user