diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/s23_lib.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/lib/libssl/s23_lib.c b/src/lib/libssl/s23_lib.c index 643910be69..3a6d1d598b 100644 --- a/src/lib/libssl/s23_lib.c +++ b/src/lib/libssl/s23_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_lib.c,v 1.16 2014/07/11 08:17:36 miod Exp $ */ | 1 | /* $OpenBSD: s23_lib.c,v 1.17 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 | * |
| @@ -67,21 +67,6 @@ ssl23_default_timeout(void) | |||
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | int | 69 | int |
| 70 | ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) | ||
| 71 | { | ||
| 72 | long l; | ||
| 73 | |||
| 74 | /* We can write SSLv2 and SSLv3 ciphers */ | ||
| 75 | if (p != NULL) { | ||
| 76 | l = c->id; | ||
| 77 | p[0] = ((unsigned char)(l >> 16L))&0xFF; | ||
| 78 | p[1] = ((unsigned char)(l >> 8L))&0xFF; | ||
| 79 | p[2] = ((unsigned char)(l ))&0xFF; | ||
| 80 | } | ||
| 81 | return (3); | ||
| 82 | } | ||
| 83 | |||
| 84 | int | ||
| 85 | ssl23_read(SSL *s, void *buf, int len) | 70 | ssl23_read(SSL *s, void *buf, int len) |
| 86 | { | 71 | { |
| 87 | int n; | 72 | int n; |
