summaryrefslogtreecommitdiff
path: root/ext/dtls
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dtls')
-rw-r--r--ext/dtls/gstdtlsconnection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dtls/gstdtlsconnection.c b/ext/dtls/gstdtlsconnection.c
index 6b47460d5..0242aebc5 100644
--- a/ext/dtls/gstdtlsconnection.c
+++ b/ext/dtls/gstdtlsconnection.c
@@ -716,6 +716,7 @@ openssl_poll (GstDtlsConnection * self)
log_state (self, "poll: before handshake");
+ ERR_clear_error ();
ret = SSL_do_handshake (self->priv->ssl);
log_state (self, "poll: after handshake");