Remove BIO_seek/BIO_tell from evp_test.c
authorDr. Stephen Henson <steve@openssl.org>
Thu, 5 Jan 2017 19:27:41 +0000 (19:27 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 5 Jan 2017 23:03:07 +0000 (23:03 +0000)
commit0c0ead5c68f2707f7158a251520dcd63d768a7f4
tree7161a25b9cb4fc7c1a8b7b46d94aa42e39c165c2
parent241c18f778fe0ced1daa7758d3a02eebd0c9f00b
Remove BIO_seek/BIO_tell from evp_test.c

BIO_seek and BIO_tell can cause problems with evp_test.c on some platforms.
Avoid them by using a temporary memory BIO to store key PEM data.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2183)
(cherry picked from commit 71f60ef3376144885384f2b1b3f00c3d54806f38)
test/evp_test.c