err/err.c: fix "wraparound" bug in ERR_set_error_data.
authorAndy Polyakov <appro@openssl.org>
Wed, 16 Aug 2017 21:06:57 +0000 (23:06 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 18 Aug 2017 07:26:48 +0000 (09:26 +0200)
commit5dd8e67a7b9ede8d90744660abbb40adf07890aa
treec55a5caaeb74dfa651c2b7e3b9ffe975b281b57c
parent5c26dd5b70e7be158dade9da9d75af258c7795dc
err/err.c: fix "wraparound" bug in ERR_set_error_data.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit d3d880ce01cfaf0091f46a2f6b5bd146d47a93e7)
crypto/err/err.c