Commit 982473b3 authored by Geoff Simmons's avatar Geoff Simmons

Make the tests for examples from the RFC look more exactly like the RFC.

By using BASE64URLNOPAD from VMOD blob.
parent 072068b5
......@@ -28,10 +28,10 @@ varnish v1 -arg "-p vsl_mask=+VfpAcct" -vcl+backend {
import blob;
sub vcl_init {
ece.set_key("", blob.decode(BASE64,
encoded="yqdlZ+tYemfogSmv7Ws5PQ=="));
ece.set_key("a1", blob.decode(BASE64,
encoded="BO3ZVPxUlnLORbVGMpbT1Q=="));
ece.set_key("", blob.decode(BASE64URLNOPAD,
encoded="yqdlZ-tYemfogSmv7Ws5PQ"));
ece.set_key("a1", blob.decode(BASE64URLNOPAD,
encoded="BO3ZVPxUlnLORbVGMpbT1Q"));
}
sub vcl_backend_response {
......
......@@ -22,8 +22,8 @@ varnish v1 -arg "-p vsl_mask=+VfpAcct" -vcl+backend {
import blob;
sub vcl_init {
ece.set_key("", blob.decode(BASE64,
encoded="yqdlZ+tYemfogSmv7Ws5PQ=="));
ece.set_key("", blob.decode(BASE64URLNOPAD,
encoded="yqdlZ-tYemfogSmv7Ws5PQ"));
}
# When set-salt is enabled, the base64-encoded salt can be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment