Unified · Split
| @@ -743,10 +743,6 @@ static av_cold int openssl_init_ca_key_cert(URLContext *h) · 742 unmodified lines | ||
| 743 | 743 | ret = AVERROR(EINVAL); |
| 744 | 744 | return ret; |
| 745 | 745 | } |
| 746 | − } else if (c->is_dtls){ | |
| 747 | − av_log(p, AV_LOG_ERROR, "TLS: Init cert failed, %s\n", openssl_get_error(p)); | |
| 748 | − ret = AVERROR(EINVAL); | |
| 749 | − goto fail; | |
| 750 | 746 | } |
| 751 | 747 | |
| 752 | 748 | if (c->key_file) { |
| @@ -764,10 +760,6 @@ static av_cold int openssl_init_ca_key_cert(URLContext *h) · 11 unmodified lines | ||
| 764 | 760 | ret = AVERROR(EINVAL); |
| 765 | 761 | return ret; |
| 766 | 762 | } |
| 767 | − } else if (c->is_dtls) { | |
| 768 | − av_log(p, AV_LOG_ERROR, "TLS: Init pkey failed, %s\n", openssl_get_error(p)); | |
| 769 | − ret = AVERROR(EINVAL); | |
| 770 | − goto fail; | |
| 771 | 763 | } |
| 772 | 764 | ret = 0; |
| 773 | 765 | fail: |