diff options
| author | tedu <> | 2014-05-30 14:30:50 +0000 |
|---|---|---|
| committer | tedu <> | 2014-05-30 14:30:50 +0000 |
| commit | 67bd16bada684b2830592ec71f9fb0d7690e490f (patch) | |
| tree | cbf937e75b5dc1f5e8f2452d45ad4d6942a9b1d4 /src/lib/libssl/s3_clnt.c | |
| parent | f4109fbc0367c4e1052b93015df4481e5e788146 (diff) | |
| download | openbsd-67bd16bada684b2830592ec71f9fb0d7690e490f.tar.gz openbsd-67bd16bada684b2830592ec71f9fb0d7690e490f.tar.bz2 openbsd-67bd16bada684b2830592ec71f9fb0d7690e490f.zip | |
remove some #if 0 code. we don't need any more reminders that we're using
a not quite appropriate data structure. ok jsing
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/s3_clnt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index abe5c5a86b..bda14069c1 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
| @@ -730,14 +730,8 @@ ssl3_client_hello(SSL *s) | |||
| 730 | * client_version in client hello and not resetting it to | 730 | * client_version in client hello and not resetting it to |
| 731 | * the negotiated version. | 731 | * the negotiated version. |
| 732 | */ | 732 | */ |
| 733 | #if 0 | ||
| 734 | *(p++) = s->version >> 8; | ||
| 735 | *(p++) = s->version&0xff; | ||
| 736 | s->client_version = s->version; | ||
| 737 | #else | ||
| 738 | *(p++) = s->client_version >> 8; | 733 | *(p++) = s->client_version >> 8; |
| 739 | *(p++) = s->client_version & 0xff; | 734 | *(p++) = s->client_version & 0xff; |
| 740 | #endif | ||
| 741 | 735 | ||
| 742 | /* Random stuff */ | 736 | /* Random stuff */ |
| 743 | memcpy(p, s->s3->client_random, SSL3_RANDOM_SIZE); | 737 | memcpy(p, s->s3->client_random, SSL3_RANDOM_SIZE); |
