summaryrefslogtreecommitdiffstats
path: root/ssl/d1_lib.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-06-07 22:21:14 +0000
committerAndy Polyakov <appro@openssl.org>2005-06-07 22:21:14 +0000
commitdffdb56b7f5ac13102cd3639c115349d3ce2fa01 (patch)
treeaee2300f3d663ab0af4ec8166e1c28d8b8bd97e4 /ssl/d1_lib.c
parenta78c0632edd4c9c257362045dbf7c8ca4a045052 (diff)
"Liberate" dtls from BN dependency. Fix bug in replay/update.
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r--ssl/d1_lib.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 458ce544d1..ea0dbf4831 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -132,16 +132,6 @@ int dtls1_new(SSL *s)
memset(d1,0, sizeof *d1);
/* d1->handshake_epoch=0; */
-#if defined(OPENSSL_SYS_VMS) || defined(VMS_TEST)
- d1->bitmap.length=64;
-#else
- d1->bitmap.length=sizeof(d1->bitmap.map) * 8;
-#endif
- pq_64bit_init(&(d1->bitmap.map));
- pq_64bit_init(&(d1->bitmap.max_seq_num));
-
- pq_64bit_init(&(d1->next_bitmap.map));
- pq_64bit_init(&(d1->next_bitmap.max_seq_num));
d1->unprocessed_rcds.q=pqueue_new();
d1->processed_rcds.q=pqueue_new();
@@ -208,12 +198,6 @@ void dtls1_free(SSL *s)
}
pqueue_free(s->d1->sent_messages);
- pq_64bit_free(&(s->d1->bitmap.map));
- pq_64bit_free(&(s->d1->bitmap.max_seq_num));
-
- pq_64bit_free(&(s->d1->next_bitmap.map));
- pq_64bit_free(&(s->d1->next_bitmap.max_seq_num));
-
OPENSSL_free(s->d1);
}