View | Details | Raw Unified | Return to bug 254667 | Differences between
and this patch

Collapse All | Expand All

(-)ftp/curl/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	curl
4
PORTNAME=	curl
5
PORTVERSION=	7.75.0
5
PORTVERSION=	7.75.0
6
PORTREVISION=	1
6
CATEGORIES=	ftp net www
7
CATEGORIES=	ftp net www
7
MASTER_SITES=	https://curl.haxx.se/download/ \
8
MASTER_SITES=	https://curl.haxx.se/download/ \
8
		LOCAL/sunpoet
9
		LOCAL/sunpoet
(-)ftp/curl/files/patch-lib_vssh_libssh2.c (+24 lines)
Line 0 Link Here
1
--- lib/vssh/libssh2.c.orig	2021-02-02 08:26:24 UTC
2
+++ lib/vssh/libssh2.c
3
@@ -184,7 +184,7 @@ kbd_callback(const char *name, int name_len, const cha
4
              LIBSSH2_USERAUTH_KBDINT_RESPONSE *responses,
5
              void **abstract)
6
 {
7
-  struct connectdata *conn = (struct connectdata *)*abstract;
8
+  struct Curl_easy *data = (struct Curl_easy *)*abstract;
9
 
10
 #ifdef CURL_LIBSSH2_DEBUG
11
   fprintf(stderr, "name=%s\n", name);
12
@@ -199,11 +199,11 @@ kbd_callback(const char *name, int name_len, const cha
13
   (void)instruction_len;
14
 #endif  /* CURL_LIBSSH2_DEBUG */
15
   if(num_prompts == 1) {
16
+    struct connectdata *conn = data->conn;
17
     responses[0].text = strdup(conn->passwd);
18
     responses[0].length = curlx_uztoui(strlen(conn->passwd));
19
   }
20
   (void)prompts;
21
-  (void)abstract;
22
 } /* kbd_callback */
23
 
24
 static CURLcode sftp_libssh2_error_to_CURLE(unsigned long err)

Return to bug 254667