diff options
author | jsing <> | 2017-01-26 00:42:44 +0000 |
---|---|---|
committer | jsing <> | 2017-01-26 00:42:44 +0000 |
commit | 343d327fc13befa69643d8929e2c9e176e532b9d (patch) | |
tree | 32974d9a5d142477eb7229916f98dc9d11938d24 /src/lib/libssl/t1_clnt.c | |
parent | d3fd96f3fbff7bd85db9b591fd51b5a19fda0113 (diff) | |
download | openbsd-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_clnt.c')
-rw-r--r-- | src/lib/libssl/t1_clnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/t1_clnt.c b/src/lib/libssl/t1_clnt.c index 5b8f7cd412..d185df3c79 100644 --- a/src/lib/libssl/t1_clnt.c +++ b/src/lib/libssl/t1_clnt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_clnt.c,v 1.22 2017/01/23 13:36:13 jsing Exp $ */ | 1 | /* $OpenBSD: t1_clnt.c,v 1.23 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 | * |
@@ -88,7 +88,7 @@ static const SSL_METHOD_INTERNAL TLS_client_method_internal_data = { | |||
88 | .ssl_get_message = ssl3_get_message, | 88 | .ssl_get_message = ssl3_get_message, |
89 | .ssl_read_bytes = ssl3_read_bytes, | 89 | .ssl_read_bytes = ssl3_read_bytes, |
90 | .ssl_write_bytes = ssl3_write_bytes, | 90 | .ssl_write_bytes = ssl3_write_bytes, |
91 | .ssl3_enc = &ssl3_undef_enc_method, | 91 | .ssl3_enc = NULL, |
92 | }; | 92 | }; |
93 | 93 | ||
94 | static const SSL_METHOD TLS_client_method_data = { | 94 | static const SSL_METHOD TLS_client_method_data = { |