Browse Source

use SSL_CTX_set_read_ahead to fix for openssl 1.0.1k

fixes #62
pull/69/head
Richard Fuchs 11 years ago
parent
commit
2af682bdd5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/dtls.c

+ 2
- 0
daemon/dtls.c View File

@ -455,6 +455,8 @@ int dtls_connection_init(struct packet_stream *ps, int active, struct dtls_cert
if (SSL_CTX_set_tlsext_use_srtp(d->ssl_ctx, ciphers_str))
goto error;
if (SSL_CTX_set_read_ahead(d->ssl_ctx, 1))
goto error;
d->ssl = SSL_new(d->ssl_ctx);
if (!d->ssl)


Loading…
Cancel
Save