diff options
author | jsing <> | 2020-10-14 16:57:33 +0000 |
---|---|---|
committer | jsing <> | 2020-10-14 16:57:33 +0000 |
commit | e60f5a8fe5ed7844d5dc6f1c9dbcf86fce1ae298 (patch) | |
tree | 78cf866b36bb0fdd2fbaafb054ed0c36fcef0747 /src/lib/libssl/ssl_locl.h | |
parent | a94866305ad306011ef3cb3dade3f2c6c1c5dec0 (diff) | |
download | openbsd-e60f5a8fe5ed7844d5dc6f1c9dbcf86fce1ae298.tar.gz openbsd-e60f5a8fe5ed7844d5dc6f1c9dbcf86fce1ae298.tar.bz2 openbsd-e60f5a8fe5ed7844d5dc6f1c9dbcf86fce1ae298.zip |
Replace SSL_IS_DTLS with SSL_is_dtls().
Garbage collect the now unused SSL_IS_DTLS macro.
ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 12838bf294..9c8310b83c 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.305 2020/10/14 16:44:15 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.306 2020/10/14 16:57:33 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -313,10 +313,6 @@ __BEGIN_HIDDEN_DECLS | |||
313 | */ | 313 | */ |
314 | #define SSL_C_PKEYLENGTH(c) 1024 | 314 | #define SSL_C_PKEYLENGTH(c) 1024 |
315 | 315 | ||
316 | /* Check if an SSL structure is using DTLS. */ | ||
317 | #define SSL_IS_DTLS(s) \ | ||
318 | (s->method->internal->dtls) | ||
319 | |||
320 | /* See if we use signature algorithms extension. */ | 316 | /* See if we use signature algorithms extension. */ |
321 | #define SSL_USE_SIGALGS(s) \ | 317 | #define SSL_USE_SIGALGS(s) \ |
322 | (s->method->internal->enc_flags & SSL_ENC_FLAG_SIGALGS) | 318 | (s->method->internal->enc_flags & SSL_ENC_FLAG_SIGALGS) |