Use strcpy instead of sprintf %s
authorRich Salz <rsalz@openssl.org>
Fri, 25 Aug 2017 13:01:17 +0000 (09:01 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 25 Aug 2017 14:49:40 +0000 (10:49 -0400)
commitb5fe5dfbdaf8ee25e45c9a94736a1478a355e136
tree2677ab3bee950f59218146b5676631d26238c471
parent3790a2f697985885821873e18c366690eba03e20
Use strcpy instead of sprintf %s

Also use a local variable, collapse some code.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4258)
crypto/engine/eng_ctrl.c