diff options
author | tedu <> | 2014-07-10 08:51:15 +0000 |
---|---|---|
committer | tedu <> | 2014-07-10 08:51:15 +0000 |
commit | 7fa0fcaa4570540c46d2430a269ae2e95aaa258e (patch) | |
tree | 10d3c4ab8299021b37a17232dc3493cb7fc5dd87 /src/lib/libssl/ssl_sess.c | |
parent | 4edb6fce921fd3bc18b713f5802551bacc02cf8a (diff) | |
download | openbsd-7fa0fcaa4570540c46d2430a269ae2e95aaa258e.tar.gz openbsd-7fa0fcaa4570540c46d2430a269ae2e95aaa258e.tar.bz2 openbsd-7fa0fcaa4570540c46d2430a269ae2e95aaa258e.zip |
decompress libssl. ok beck jsing
Diffstat (limited to 'src/lib/libssl/ssl_sess.c')
-rw-r--r-- | src/lib/libssl/ssl_sess.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c index 7932f20151..b3dd3e6117 100644 --- a/src/lib/libssl/ssl_sess.c +++ b/src/lib/libssl/ssl_sess.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_sess.c,v 1.34 2014/06/21 20:27:25 tedu Exp $ */ | 1 | /* $OpenBSD: ssl_sess.c,v 1.35 2014/07/10 08:51:15 tedu Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -207,7 +207,6 @@ SSL_SESSION_new(void) | |||
207 | ss->time = time(NULL); | 207 | ss->time = time(NULL); |
208 | ss->prev = NULL; | 208 | ss->prev = NULL; |
209 | ss->next = NULL; | 209 | ss->next = NULL; |
210 | ss->compress_meth = 0; | ||
211 | ss->tlsext_hostname = NULL; | 210 | ss->tlsext_hostname = NULL; |
212 | 211 | ||
213 | ss->tlsext_ecpointformatlist_length = 0; | 212 | ss->tlsext_ecpointformatlist_length = 0; |
@@ -233,7 +232,7 @@ SSL_SESSION_get_id(const SSL_SESSION *s, unsigned int *len) | |||
233 | unsigned int | 232 | unsigned int |
234 | SSL_SESSION_get_compress_id(const SSL_SESSION *s) | 233 | SSL_SESSION_get_compress_id(const SSL_SESSION *s) |
235 | { | 234 | { |
236 | return s->compress_meth; | 235 | return 0; |
237 | } | 236 | } |
238 | 237 | ||
239 | /* Even with SSLv2, we have 16 bytes (128 bits) of session ID space. SSLv3/TLSv1 | 238 | /* Even with SSLv2, we have 16 bytes (128 bits) of session ID space. SSLv3/TLSv1 |