diff options
Diffstat (limited to 'header.c')
| -rw-r--r-- | header.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -75,7 +75,7 @@ static int suhosin_header_handler(sapi_header_struct *sapi_header, sapi_header_o | |||
| 75 | int nlen, vlen, len, tlen; | 75 | int nlen, vlen, len, tlen; |
| 76 | char cryptkey[33]; | 76 | char cryptkey[33]; |
| 77 | 77 | ||
| 78 | suhosin_generate_key(SUHOSIN7_G(cookie_cryptkey), SUHOSIN7_G(cookie_cryptua), SUHOSIN7_G(cookie_cryptdocroot), SUHOSIN7_G(cookie_cryptraddr), (char *)&cryptkey TSRMLS_CC); | 78 | suhosin_generate_key(SUHOSIN7_G(cookie_cryptkey), SUHOSIN7_G(cookie_cryptua), SUHOSIN7_G(cookie_cryptdocroot), SUHOSIN7_G(cookie_cryptraddr), (char *)cryptkey); |
| 79 | start = estrndup(sapi_header->header, sapi_header->header_len); | 79 | start = estrndup(sapi_header->header, sapi_header->header_len); |
| 80 | rend = end = start + sapi_header->header_len; | 80 | rend = end = start + sapi_header->header_len; |
| 81 | 81 | ||
| @@ -119,7 +119,7 @@ static int suhosin_header_handler(sapi_header_struct *sapi_header, sapi_header_o | |||
| 119 | suhosin_skip_header_handling: | 119 | suhosin_skip_header_handling: |
| 120 | /* If existing call the sapi header handler */ | 120 | /* If existing call the sapi header handler */ |
| 121 | if (orig_header_handler) { | 121 | if (orig_header_handler) { |
| 122 | retval = orig_header_handler(sapi_header, op, sapi_headers TSRMLS_CC); | 122 | retval = orig_header_handler(sapi_header, op, sapi_headers); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | return retval; | 125 | return retval; |
