Assert the actual verify result in the pkcs7 and rsa-nb checks
parent
a629a78b67
commit
8b20297566
|
|
@ -38,5 +38,5 @@ clean:
|
|||
check: SHELL := /bin/bash
|
||||
check: .SHELLFLAGS := -eo pipefail -c
|
||||
check: rsa-nb
|
||||
./rsa-nb | grep -q 'RSA non-block verify:'
|
||||
./rsa-nb | grep -q 'RSA non-block verify successful'
|
||||
@echo "PASS: pk-rsa checks"
|
||||
|
|
|
|||
|
|
@ -227,6 +227,9 @@ int main(int argc, char** argv)
|
|||
if (verifySz != (int)inSz || XMEMCMP(plain, in, inSz) != 0) {
|
||||
ret = SIG_VERIFY_E;
|
||||
}
|
||||
else {
|
||||
printf("RSA non-block verify successful\n");
|
||||
}
|
||||
|
||||
prog_end:
|
||||
|
||||
|
|
|
|||
|
|
@ -62,5 +62,5 @@ clean:
|
|||
check: SHELL := /bin/bash
|
||||
check: .SHELLFLAGS := -eo pipefail -c
|
||||
check: signedData-stream
|
||||
./signedData-stream content.txt | grep -q 'bytes from file'
|
||||
./signedData-stream content.txt | grep -q 'Successfully verified SignedData bundle'
|
||||
@echo "PASS: pkcs7-signeddata-stream checks"
|
||||
|
|
|
|||
Loading…
Reference in New Issue