Skip to content

Commit

Permalink
Avoid some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
beldmit committed Jun 13, 2020
1 parent f26da81 commit 9a4548c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/04-pkey.t
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ MIGgMBcGCCqFAwcBAQECMAsGCSqFAwcBAgECAwOBhAAEgYCPdAER26Ym73DSUXBamTLJcntdV3oZ7RRx
# Bob: derive
system("openssl pkeyutl -derive -inkey bob.prv -keyform PEM -peerkey alice.pub.der -peerform DER -pkeyopt ukmhex:0100000000000000 -out secret_b.bin");
like(`openssl dgst -sha256 -r secret_b.bin`, qr/^$secrethash/, "Compute shared key:$id:Bob");
if ($malice ne "") {
if (defined $malice && $malice ne "") {
# Malice: negative test -- this PEM is in the small subgroup
open $F,">",'malice.pub';
print $F $malice;
Expand Down

0 comments on commit 9a4548c

Please sign in to comment.