diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /net-vpn/corkscrew/files | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'net-vpn/corkscrew/files')
-rw-r--r-- | net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch b/net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch new file mode 100644 index 000000000000..1e750bc74115 --- /dev/null +++ b/net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch @@ -0,0 +1,12 @@ +diff -ur corkscrew-2.0/corkscrew.c corkscrew-2.0.new/corkscrew.c +--- corkscrew-2.0/corkscrew.c 2001-08-23 14:27:32.000000000 -0400 ++++ corkscrew-2.0.new/corkscrew.c 2018-04-03 11:06:53.268025605 -0400 +@@ -219,7 +219,7 @@ + strncat(uri, destport, sizeof(uri) - strlen(uri) - 1); + strncat(uri, " HTTP/1.0", sizeof(uri) - strlen(uri) - 1); + if ((argc == 6) || (argc == 7)) { +- strncat(uri, "\nProxy-Authorization: Basic ", sizeof(uri) - strlen(uri) - 1); ++ strncat(uri, "\r\nProxy-Authorization: Basic ", sizeof(uri) - strlen(uri) - 1); + strncat(uri, base64_encode(up), sizeof(uri) - strlen(uri) - 1); + } + strncat(uri, linefeed, sizeof(uri) - strlen(uri) - 1); |