mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 03:52:28 +02:00
Remove ENABLE_CRYPTO_OPENSSL ifdef inside ENABLE_CRYPTO_OPENSSL ifdef
This ifdef is redundant. Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20211207165035.3274728-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23326.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
de02c828f5
commit
2aef01df6c
@ -1964,13 +1964,11 @@ key_state_write_plaintext(struct key_state_ssl *ks_ssl, struct buffer *buf)
|
|||||||
int ret = 0;
|
int ret = 0;
|
||||||
perf_push(PERF_BIO_WRITE_PLAINTEXT);
|
perf_push(PERF_BIO_WRITE_PLAINTEXT);
|
||||||
|
|
||||||
#ifdef ENABLE_CRYPTO_OPENSSL
|
|
||||||
ASSERT(NULL != ks_ssl);
|
ASSERT(NULL != ks_ssl);
|
||||||
|
|
||||||
ret = bio_write(ks_ssl->ssl_bio, BPTR(buf), BLEN(buf),
|
ret = bio_write(ks_ssl->ssl_bio, BPTR(buf), BLEN(buf),
|
||||||
"tls_write_plaintext");
|
"tls_write_plaintext");
|
||||||
bio_write_post(ret, buf);
|
bio_write_post(ret, buf);
|
||||||
#endif /* ENABLE_CRYPTO_OPENSSL */
|
|
||||||
|
|
||||||
perf_pop();
|
perf_pop();
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user