mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-06 07:10:41 +00:00
ssl-opt: Fix GnuTLS PSK injection
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
9404169146
commit
6f9952abfc
@ -1 +1 @@
|
|||||||
Subproject commit 7acada6a928031340d390b2dce645a3b6129ddad
|
Subproject commit 071831e25bd336baa58bbdf65e985283f56e1b86
|
@ -543,7 +543,8 @@ adapt_cmd_for_psk () {
|
|||||||
case "$2" in
|
case "$2" in
|
||||||
*openssl*s_server*) s='-psk 73776f726466697368 -nocert';;
|
*openssl*s_server*) s='-psk 73776f726466697368 -nocert';;
|
||||||
*openssl*) s='-psk 73776f726466697368';;
|
*openssl*) s='-psk 73776f726466697368';;
|
||||||
*gnutls-*) s='--pskusername=Client_identity --pskkey=73776f726466697368';;
|
*gnutls-cli*) s='--pskusername=Client_identity --pskkey=73776f726466697368';;
|
||||||
|
*gnutls-serv*) s='--pskpasswd=../framework/data_files/simplepass.psk';;
|
||||||
*) s='psk=73776f726466697368';;
|
*) s='psk=73776f726466697368';;
|
||||||
esac
|
esac
|
||||||
eval $1='"$2 $s"'
|
eval $1='"$2 $s"'
|
||||||
|
Loading…
Reference in New Issue
Block a user