Commit 271daaf7 authored by Ben Laurie's avatar Ben Laurie
Browse files

Fix one of the no-tlsext build errors (there are more).

parent efbb7ee4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -610,12 +610,14 @@ int ssl_get_prev_session(SSL *s, unsigned char *session_id, int len,
	if (ret != NULL)
		{
		SSL_SESSION_free(ret);
#ifndef OPENSSL_NO_TLSEXT
		if (!try_session_cache)
			{
			/* The session was from a ticket, so we should
			 * issue a ticket for the new session */
			s->tlsext_ticket_expected = 1;
			}
#endif
		}
	if (fatal)
		return -1;