diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-05-24 12:21:13 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 22:51:31 -0400 |
commit | 1fc8a3e1f2c91ba7fc246b63e1db85d9d4875df2 (patch) | |
tree | 3961ffd46e824ac679be17feaab1d19aa480cd71 /src/mod_wstunnel.c | |
parent | c18f442a63a5a7e591cbaa379bfaf1cfd2741aef (diff) | |
download | lighttpd-git-1fc8a3e1f2c91ba7fc246b63e1db85d9d4875df2.tar.gz |
[core] sys-crypto-md.h w/ inline message digest fn
sys-crypto-md.h w/ inline message digest functions; shared code
Diffstat (limited to 'src/mod_wstunnel.c')
-rw-r--r-- | src/mod_wstunnel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mod_wstunnel.c b/src/mod_wstunnel.c index 389cd7b4..5a993bb6 100644 --- a/src/mod_wstunnel.c +++ b/src/mod_wstunnel.c @@ -650,8 +650,8 @@ int mod_wstunnel_plugin_init(plugin *p) { #ifdef _MOD_WEBSOCKET_SPEC_IETF_00_ -#include "sys-endian.h" /* lighttpd */ -#include "md5.h" /* lighttpd */ +#include "sys-crypto-md.h" /* lighttpd */ +#include "sys-endian.h" /* lighttpd */ static int get_key3(request_st * const r, char *buf) { /* 8 bytes should have been sent with request @@ -787,8 +787,8 @@ static int create_response_ietf_00(handler_ctx *hctx) { #ifdef _MOD_WEBSOCKET_SPEC_RFC_6455_ -#include "algo_sha1.h" /* lighttpd */ -#include "base64.h" /* lighttpd */ +#include "sys-crypto-md.h" /* lighttpd */ +#include "base64.h" /* lighttpd */ static int create_response_rfc_6455(handler_ctx *hctx) { request_st * const r = hctx->gw.r; |