Small fix in OpenSSL::Test
authorRichard Levitte <levitte@openssl.org>
Thu, 3 Sep 2015 17:41:40 +0000 (19:41 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 7 Sep 2015 14:10:58 +0000 (16:10 +0200)
commite3ff089249a31765c23faaf9d8019b7889dd0c58
treed69da1bf30034eed3a2b621fcdf4dbb5ec948f7b
parent5beb63c41e8bc140cd8096af8195b0b95bef1ff5
Small fix in OpenSSL::Test

Be careful when shifting in a function argument, you end up changing
the caller's value.  Instead, when it is an array, make a shallow copy
and shift in that instead.

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/testlib/OpenSSL/Test.pm