]> git.ipfire.org Git - thirdparty/openssl.git/commit - ssl/statem/statem_clnt.c
Fix empty NewSessionTicket processing
authorMatt Caswell <matt@openssl.org>
Thu, 22 Oct 2015 14:02:14 +0000 (15:02 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:39:47 +0000 (08:39 +0000)
commitc9de4a20fa21101208cf311c5437d9c358ba1f07
treef2b0987b34745b78bb18e57eb655a9560a360e30
parentd13dd4beb4674689c7a46450dbb8bae9af24d510
Fix empty NewSessionTicket processing

Rebasing the state machine code introduced a problem with empty
NewSessionTicket processing. The return value from the
tls_process_new_session_ticket() is supposed to be an enum, but a bare
integer was being used. Unfortunately this is valid C so the compiler
doesn't pick it up.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/statem/statem_clnt.c