summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_meth.c
diff options
context:
space:
mode:
authorjsing <>2017-01-26 00:42:44 +0000
committerjsing <>2017-01-26 00:42:44 +0000
commit343d327fc13befa69643d8929e2c9e176e532b9d (patch)
tree32974d9a5d142477eb7229916f98dc9d11938d24 /src/lib/libssl/t1_meth.c
parentd3fd96f3fbff7bd85db9b591fd51b5a19fda0113 (diff)
downloadopenbsd-343d327fc13befa69643d8929e2c9e176e532b9d.tar.gz
openbsd-343d327fc13befa69643d8929e2c9e176e532b9d.tar.bz2
openbsd-343d327fc13befa69643d8929e2c9e176e532b9d.zip
Remove ssl3_undef_enc_method - if we have internal bugs we want to segfault
so that we can debug it, rather than adding a "should not be called" error to the stack. Discussed with beck@
Diffstat (limited to 'src/lib/libssl/t1_meth.c')
-rw-r--r--src/lib/libssl/t1_meth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/t1_meth.c b/src/lib/libssl/t1_meth.c
index 51c129b2c9..d6262e48cd 100644
--- a/src/lib/libssl/t1_meth.c
+++ b/src/lib/libssl/t1_meth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_meth.c,v 1.21 2017/01/23 13:36:13 jsing Exp $ */ 1/* $OpenBSD: t1_meth.c,v 1.22 2017/01/26 00:42:44 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 *
@@ -86,7 +86,7 @@ static const SSL_METHOD_INTERNAL TLS_method_internal_data = {
86 .ssl_get_message = ssl3_get_message, 86 .ssl_get_message = ssl3_get_message,
87 .ssl_read_bytes = ssl3_read_bytes, 87 .ssl_read_bytes = ssl3_read_bytes,
88 .ssl_write_bytes = ssl3_write_bytes, 88 .ssl_write_bytes = ssl3_write_bytes,
89 .ssl3_enc = &ssl3_undef_enc_method, 89 .ssl3_enc = NULL,
90}; 90};
91 91
92static const SSL_METHOD TLS_method_data = { 92static const SSL_METHOD TLS_method_data = {