Update an error reason code to be ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
authorMatt Caswell <matt@openssl.org>
Mon, 27 Nov 2017 11:34:05 +0000 (11:34 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 4 Dec 2017 13:31:48 +0000 (13:31 +0000)
commit8e7677aeacea0657846df444553680fdd3391f8c
tree0adeef9c630d29941ad924046d8b52a7c0d0fe10
parent8e02e73d80d44d31fbfbb757c8cbd5dad7cd311e
Update an error reason code to be ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED

The most likely explanation for us ending up at this point in the code
is that we were called by the user application incorrectly - so use an
appropriate error code.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4778)
ssl/statem/statem.c