From 343d327fc13befa69643d8929e2c9e176e532b9d Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 26 Jan 2017 00:42:44 +0000 Subject: 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@ --- src/lib/libssl/t1_meth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libssl/t1_meth.c') 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 @@ -/* $OpenBSD: t1_meth.c,v 1.21 2017/01/23 13:36:13 jsing Exp $ */ +/* $OpenBSD: t1_meth.c,v 1.22 2017/01/26 00:42:44 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -86,7 +86,7 @@ static const SSL_METHOD_INTERNAL TLS_method_internal_data = { .ssl_get_message = ssl3_get_message, .ssl_read_bytes = ssl3_read_bytes, .ssl_write_bytes = ssl3_write_bytes, - .ssl3_enc = &ssl3_undef_enc_method, + .ssl3_enc = NULL, }; static const SSL_METHOD TLS_method_data = { -- cgit v1.2.3-55-g6feb