diff options
author | 2020-10-14 16:49:57 +0000 | |
---|---|---|
committer | 2020-10-14 16:49:57 +0000 | |
commit | d4fdd934385be76dd0e8c7a64927baeef264a68b (patch) | |
tree | 9f7153a8c2de28091778c525fdde3ac7fb5d8c05 /lib/libssl/ssl.h | |
parent | Split the userland vs kernel uvm_fault reaching paths to reduce late (diff) | |
download | wireguard-openbsd-d4fdd934385be76dd0e8c7a64927baeef264a68b.tar.xz wireguard-openbsd-d4fdd934385be76dd0e8c7a64927baeef264a68b.zip |
Provide SSL_is_dtls().
For now this is #ifdef LIBRESSL_INTERNAL and will be exposed during the
next library bump.
ok tb@
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r-- | lib/libssl/ssl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 88039c08d62..a6ac6a1825b 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.178 2020/09/20 09:42:00 tb Exp $ */ +/* $OpenBSD: ssl.h,v 1.179 2020/10/14 16:49:57 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1457,6 +1457,9 @@ void SSL_free(SSL *ssl); int SSL_up_ref(SSL *ssl); int SSL_accept(SSL *ssl); int SSL_connect(SSL *ssl); +#ifdef LIBRESSL_INTERNAL +int SSL_is_dtls(const SSL *s); +#endif int SSL_is_server(const SSL *s); int SSL_read(SSL *ssl, void *buf, int num); int SSL_peek(SSL *ssl, void *buf, int num); |