summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2021-07-26 03:17:38 +0000
committerjsing <>2021-07-26 03:17:38 +0000
commitd07f7fde139d15ba9e55fcf7ecb45bbfc82d6564 (patch)
treed5c4303283f0e876353ed068b657a28628fa0880 /src/lib/libssl/ssl_locl.h
parent33ebe6f37b9fdb4bc9eb04dfa95da59ed59d9427 (diff)
downloadopenbsd-d07f7fde139d15ba9e55fcf7ecb45bbfc82d6564.tar.gz
openbsd-d07f7fde139d15ba9e55fcf7ecb45bbfc82d6564.tar.bz2
openbsd-d07f7fde139d15ba9e55fcf7ecb45bbfc82d6564.zip
Dedup dtls1_dispatch_alert()/ssl3_dispatch_alert().
The code for dtls1_dispatch_alert() and ssl3_dispatch_alert() is largely identical - with a bit of reshuffling we can use ssl3_dispatch_alert() for both protocols and remove the ssl_dispatch_alert function pointer. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 677feca157..f3650f238e 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.355 2021/07/03 16:06:45 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.356 2021/07/26 03:17:38 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 *
@@ -402,7 +402,6 @@ struct ssl_method_st {
402 int peek); 402 int peek);
403 int (*ssl_write_bytes)(SSL *s, int type, const void *buf_, int len); 403 int (*ssl_write_bytes)(SSL *s, int type, const void *buf_, int len);
404 404
405 int (*ssl_dispatch_alert)(SSL *s);
406 const SSL_CIPHER *(*get_cipher)(unsigned int ncipher); 405 const SSL_CIPHER *(*get_cipher)(unsigned int ncipher);
407 406
408 unsigned int enc_flags; /* SSL_ENC_FLAG_* */ 407 unsigned int enc_flags; /* SSL_ENC_FLAG_* */