diff options
Diffstat (limited to 'src/lib/libssl')
-rw-r--r-- | src/lib/libssl/d1_lib.c | 1 | ||||
-rw-r--r-- | src/lib/libssl/d1_srtp.c | 5 | ||||
-rw-r--r-- | src/lib/libssl/test/cms-test.pl | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index f61f718183..106939f241 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c | |||
@@ -196,6 +196,7 @@ void dtls1_free(SSL *s) | |||
196 | pqueue_free(s->d1->buffered_app_data.q); | 196 | pqueue_free(s->d1->buffered_app_data.q); |
197 | 197 | ||
198 | OPENSSL_free(s->d1); | 198 | OPENSSL_free(s->d1); |
199 | s->d1 = NULL; | ||
199 | } | 200 | } |
200 | 201 | ||
201 | void dtls1_clear(SSL *s) | 202 | void dtls1_clear(SSL *s) |
diff --git a/src/lib/libssl/d1_srtp.c b/src/lib/libssl/d1_srtp.c index 928935bd8b..ab9c41922c 100644 --- a/src/lib/libssl/d1_srtp.c +++ b/src/lib/libssl/d1_srtp.c | |||
@@ -115,11 +115,12 @@ | |||
115 | Copyright (C) 2011, RTFM, Inc. | 115 | Copyright (C) 2011, RTFM, Inc. |
116 | */ | 116 | */ |
117 | 117 | ||
118 | #ifndef OPENSSL_NO_SRTP | ||
119 | |||
120 | #include <stdio.h> | 118 | #include <stdio.h> |
121 | #include <openssl/objects.h> | 119 | #include <openssl/objects.h> |
122 | #include "ssl_locl.h" | 120 | #include "ssl_locl.h" |
121 | |||
122 | #ifndef OPENSSL_NO_SRTP | ||
123 | |||
123 | #include "srtp.h" | 124 | #include "srtp.h" |
124 | 125 | ||
125 | 126 | ||
diff --git a/src/lib/libssl/test/cms-test.pl b/src/lib/libssl/test/cms-test.pl index c938bcf00d..dfef799be2 100644 --- a/src/lib/libssl/test/cms-test.pl +++ b/src/lib/libssl/test/cms-test.pl | |||
@@ -415,8 +415,10 @@ sub run_smime_tests { | |||
415 | } | 415 | } |
416 | 416 | ||
417 | sub cmp_files { | 417 | sub cmp_files { |
418 | use FileHandle; | ||
418 | my ( $f1, $f2 ) = @_; | 419 | my ( $f1, $f2 ) = @_; |
419 | my ( $fp1, $fp2 ); | 420 | my $fp1 = FileHandle->new(); |
421 | my $fp2 = FileHandle->new(); | ||
420 | 422 | ||
421 | my ( $rd1, $rd2 ); | 423 | my ( $rd1, $rd2 ); |
422 | 424 | ||