mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Make the ssl expression parser thread-safe. It now requires bison instead of
yacc. Also change the make file magic so that the real source file name is embedded in the debug info. The generated files have been created with flex 2.5.35/bison 2.4.1. The two 'no previous prototype' warnings are supposed to be fixed with the next flex version. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002824 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1149,10 +1149,10 @@ const char *ssl_cmd_SSLRequire(cmd_parms *cmd,
|
||||
SSLDirConfigRec *dc = (SSLDirConfigRec *)dcfg;
|
||||
ssl_expr *expr;
|
||||
ssl_require_t *require;
|
||||
const char *errstring;
|
||||
|
||||
if (!(expr = ssl_expr_comp(cmd->pool, (char *)arg))) {
|
||||
return apr_pstrcat(cmd->pool, "SSLRequire: ",
|
||||
ssl_expr_get_error(), NULL);
|
||||
if (!(expr = ssl_expr_comp(cmd->pool, (char *)arg, &errstring))) {
|
||||
return apr_pstrcat(cmd->pool, "SSLRequire: ", errstring, NULL);
|
||||
}
|
||||
|
||||
require = apr_array_push(dc->aRequirement);
|
||||
|
Reference in New Issue
Block a user