mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Return with error if we dont support an algorithm.
Modified error message slightly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490531 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -167,8 +167,9 @@ int mk_password_hash(passwd_ctx *ctx)
|
||||
|
||||
default:
|
||||
ctx->errstr = apr_psprintf(ctx->pool,
|
||||
"mk_password_hash(): BUG: invalid algorithm %d",
|
||||
"mk_password_hash(): unsupported algorithm %d",
|
||||
ctx->alg);
|
||||
ret = ERR_GENERAL;
|
||||
}
|
||||
memset(pw, '\0', strlen(pw));
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user