|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3578418 ] [PATCH] '--tlsauthtype srp' fails to send client username
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 23 Oct 2012 14:14:24 -0700
Bugs item #3578418, was opened at 2012-10-19 11:07
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
This causes the handshake to always fail with: curl: (35) error:1407745B:SSL routines:SSL23_GET_SERVER_HELLO:reason(1115)) (the "Unknown PSK Identity" alert):
/usr/local/bin/curl -ik -vvv --tlsuser alice --tlspassword password123 https://localhost:8443/ --tlsauthtype SRP # works
--tlsauthtype srp is missing:
This is caused by src/tool_getparam.c doing a case-insensitive comparison using strequal() but lib/url.c using the case-sensitive strncmp().
Patch attached to change lib/url.c to the case-insensitive strnequal() to fix this. Tested on curl 7.28.0 with OpenSSL 1.0.1c.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
To try it out, you either checkout/update your git clone:
or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info