test/evp_test.c: Fixed strcmp() fault in mac_test_init()
authorRichard Levitte <levitte@openssl.org>
Mon, 29 Oct 2018 15:27:43 +0000 (16:27 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 29 Oct 2018 18:06:25 +0000 (19:06 +0100)
commit88e3cf0a1024f4afaf8e44553526eb326db102bc
tree4441c22e0be02d1741d8594ab3625cddf43c8fff
parentce5d64c79c4d809ece8fe28a5b62915467a1c0e1
test/evp_test.c: Fixed strcmp() fault in mac_test_init()

When wanting to compare the end of a string with another string, make
sure not to start somewhere before the start of the first string.

[extended tests]

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7520)
test/evp_test.c