summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/apps.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-03-31 17:13:55 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-03-31 17:13:55 +0000
commit6ebbf7ae7317153b3f3bcd4f8cbeaecf058cd19f (patch)
tree05ba69fc04d19461aae53bc13005563143a1aaef /usr.bin/openssl/apps.c
parent1bf6031299232157f5f6c88bccaa465fb24f7682 (diff)
Remove workarounds for SSL_is_dtls()
Reminded by inoguchi jsing
Diffstat (limited to 'usr.bin/openssl/apps.c')
-rw-r--r--usr.bin/openssl/apps.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c
index 396a693c6fb..5e4e8d521c7 100644
--- a/usr.bin/openssl/apps.c
+++ b/usr.bin/openssl/apps.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apps.c,v 1.59 2021/03/24 12:07:39 inoguchi Exp $ */
+/* $OpenBSD: apps.c,v 1.60 2021/03/31 17:13:54 tb Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -2340,10 +2340,3 @@ show_cipher(const OBJ_NAME *name, void *arg)
fprintf(stderr, " -%-24s%s", name->name, (++*n % 3 != 0 ? "" : "\n"));
}
-
-int
-SSL_is_dtls(const SSL *s)
-{
- return SSL_version(s) == DTLS1_VERSION ||
- SSL_version(s) == DTLS1_2_VERSION;
-}