projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efbb7ee
)
Fix one of the no-tlsext build errors (there are more).
author
Ben Laurie
<ben@openssl.org>
Sun, 13 Nov 2011 20:19:21 +0000
(20:19 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sun, 13 Nov 2011 20:19:21 +0000
(20:19 +0000)
ssl/ssl_sess.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_sess.c
b/ssl/ssl_sess.c
index 74e8f7b99df50e66a803022d9c3e90ce8145f3a3..c6438a81e181c12e84280224b132cc889f1638ba 100644
(file)
--- a/
ssl/ssl_sess.c
+++ b/
ssl/ssl_sess.c
@@
-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;