diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-07-26 13:40:25 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-07-26 13:40:25 -0600 |
commit | 73bcf1a55ba65288a23710310f46044906d28a49 (patch) | |
tree | 181df4f43747e80682b9419d3dd644b816f01826 /config.h.in | |
parent | cc9855fee5eda8b0689e1c5a75e5ff96ccfcd740 (diff) | |
download | sudo-73bcf1a55ba65288a23710310f46044906d28a49.tar.gz |
Use TLS_method() instead of TLS_client_method() throughout.
OpenSSL returns an error for SSL_accept() if TLS_client_method()
was used to generate the context (LibreSSL doesn't care).
Prior to sudo 1.9.7, TLS_client_method() and TLS_server_method()
were used in the TLS client and server initialization code respectively.
This was refactored in sudo 1.9.7 to allow the code to be shared.
Bug #988
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config.h.in b/config.h.in index 90be6906b..c5d8accd3 100644 --- a/config.h.in +++ b/config.h.in @@ -928,11 +928,8 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have the `TLS_client_method' function. */ -#undef HAVE_TLS_CLIENT_METHOD - -/* Define to 1 if you have the `TLS_server_method' function. */ -#undef HAVE_TLS_SERVER_METHOD +/* Define to 1 if you have the `TLS_method' function. */ +#undef HAVE_TLS_METHOD /* Define to 1 if you have the `ttyslot' function. */ #undef HAVE_TTYSLOT |