mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00:00
compat.sh: ignore $VERIFY in PSK TYPE
There is no need to provide CA file in PSK. Thus VERIFY is meaningless for PSK. This change omits the arguments passed to the client and server for $VERIFY=YES. Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
10ada35019
commit
dae7057e1f
@ -615,7 +615,7 @@ setup_arguments()
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "X$VERIFY" = "XYES" ];
|
||||
if [ "X$VERIFY" = "XYES" ] && [ "$TYPE" != "PSK" ];
|
||||
then
|
||||
M_SERVER_ARGS="$M_SERVER_ARGS ca_file=data_files/test-ca_cat12.crt auth_mode=required"
|
||||
O_SERVER_ARGS="$O_SERVER_ARGS -CAfile data_files/test-ca_cat12.crt -Verify 10"
|
||||
|
Loading…
x
Reference in New Issue
Block a user