diff options
author | tedu <> | 2014-05-30 14:30:50 +0000 |
---|---|---|
committer | tedu <> | 2014-05-30 14:30:50 +0000 |
commit | d970fd597dc43c71716f5ce1db8f102515a73ad8 (patch) | |
tree | cbf937e75b5dc1f5e8f2452d45ad4d6942a9b1d4 /src/lib/libssl/s3_clnt.c | |
parent | d7bb67cc99974281f55641afa52a0f9e8f1ff938 (diff) | |
download | openbsd-d970fd597dc43c71716f5ce1db8f102515a73ad8.tar.gz openbsd-d970fd597dc43c71716f5ce1db8f102515a73ad8.tar.bz2 openbsd-d970fd597dc43c71716f5ce1db8f102515a73ad8.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 'src/lib/libssl/s3_clnt.c')
-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); |