diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_sess.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c index d1cd418601..d4fa5a618f 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.38 2014/07/13 16:03:10 beck Exp $ */ | 1 | /* $OpenBSD: ssl_sess.c,v 1.39 2014/08/10 14:42:56 jsing 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 | * |
| @@ -566,9 +566,9 @@ ssl_get_prev_session(SSL *s, unsigned char *session_id, int len, | |||
| 566 | l2n(l, p); | 566 | l2n(l, p); |
| 567 | 567 | ||
| 568 | if ((ret->ssl_version >> 8) >= SSL3_VERSION_MAJOR) | 568 | if ((ret->ssl_version >> 8) >= SSL3_VERSION_MAJOR) |
| 569 | ret->cipher = ssl_get_cipher_by_char(s, &(buf[2])); | 569 | ret->cipher = ssl3_get_cipher_by_char(&buf[2]); |
| 570 | else | 570 | else |
| 571 | ret->cipher = ssl_get_cipher_by_char(s, &(buf[1])); | 571 | ret->cipher = ssl3_get_cipher_by_char(&buf[1]); |
| 572 | 572 | ||
| 573 | if (ret->cipher == NULL) | 573 | if (ret->cipher == NULL) |
| 574 | goto err; | 574 | goto err; |
