Skip to content

Commit

Permalink
fix config error when using unspec/default secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Mauchle committed Jun 28, 2019
1 parent 01b9859 commit dbd87b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radsecproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2634,7 +2634,7 @@ int confserver_cb(struct gconffile **cf, void *arg, char *block, char *opt, char
goto errexit;
}
conf->confsecret = stringcopy(conf->pdef->secretdefault, 0);
if (!conf->secret) {
if (!conf->confsecret) {
debug(DBG_ERR, "malloc failed");
goto errexit;
}
Expand Down

0 comments on commit dbd87b0

Please sign in to comment.