From df05acdc9e464af132dd7a7cf4277f12c2733e2c Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Sat, 26 Jun 2021 21:39:57 +0000 Subject: [PATCH] test arm curl different return values --- test/test_restconf_ssl_certs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_restconf_ssl_certs.sh b/test/test_restconf_ssl_certs.sh index 18a363b7..ba179825 100755 --- a/test/test_restconf_ssl_certs.sh +++ b/test/test_restconf_ssl_certs.sh @@ -291,7 +291,7 @@ EOF expectpart "$(curl $CURLOPTS --key $certdir/limited.key --cert $certdir/limited.crt -X GET $RCPROTO://localhost/restconf/data/example:x 2>&1)" "16 35 55 56" # 55 "certificate expired" new "too weak cert (sign w md5)" - expectpart "$(curl $CURLOPTS --key $certdir/mymd5.key --cert $certdir/mymd5.crt -X GET $RCPROTO://localhost/restconf/data/example:x 2>&1)" 58 "md too weak" + expectpart "$(curl $CURLOPTS --key $certdir/mymd5.key --cert $certdir/mymd5.crt -X GET $RCPROTO://localhost/restconf/data/example:x 2>&1)" "35 58" # "md too weak" # Havent been able to generate "wrong CA" # new "invalid cert from wrong CA"