From 0b1f26648671b94e2ae3e11d602556a4e46535ce Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Wed, 22 Feb 2017 08:14:07 +0100 Subject: [PATCH] Fixup previous merge. Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/2703) --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 5ab7223476..22a368defe 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -1316,7 +1316,7 @@ TICKET_RETURN tls_decrypt_ticket(SSL *s, const unsigned char *etick, /* Some additional consistency checks */ if (p != sdec + slen || sess->session_id_length != 0) { SSL_SESSION_free(sess); - return 2; + return TICKET_NO_DECRYPT; } /* * The session ID, if non-empty, is used by some clients to detect -- 2.25.1