summaryrefslogtreecommitdiffstats
path: root/lasso/xml/ws
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-25 12:46:59 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-25 12:46:59 +0000
commit9630852710721ad496ee1fa66204a6547275db6d (patch)
treeb815154a7c307cb6000f49f35a435f99469ddd1b /lasso/xml/ws
parent34a2c36e577f1752b4bb635dc1cfb12d3d5a1fd5 (diff)
downloadlasso-9630852710721ad496ee1fa66204a6547275db6d.tar.gz
lasso-9630852710721ad496ee1fa66204a6547275db6d.tar.xz
lasso-9630852710721ad496ee1fa66204a6547275db6d.zip
Fix name of LASSO_WSSEC_BAD_PASSWORD
* lasso/errors.c lasso/errors.h: LASSO_WSSE_BAD_PASSWORD -> LASSO_WSSEC_ERROR_BAD_PASSWORD * lasso/xml/ws/wsse_username_token.c: update client code.
Diffstat (limited to 'lasso/xml/ws')
-rw-r--r--lasso/xml/ws/wsse_username_token.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/xml/ws/wsse_username_token.c b/lasso/xml/ws/wsse_username_token.c
index 247c4fc2..a6579b9a 100644
--- a/lasso/xml/ws/wsse_username_token.c
+++ b/lasso/xml/ws/wsse_username_token.c
@@ -294,13 +294,13 @@ lasso_wsse_username_token_check_password(LassoWsseUsernameToken *wsse_username_t
case LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_DIGEST:
digest = _lasso_wsse_username_token_compute_digest(wsse_username_token, password);
if (strcmp(private->Password, digest) != 0) {
- rc = LASSO_WSSEC_BAD_PASSWORD;
+ rc = LASSO_WSSEC_ERROR_BAD_PASSWORD;
}
g_free(digest);
break;
case LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_TEXT:
if (strcmp(private->Password, password) != 0) {
- return LASSO_WSSEC_BAD_PASSWORD;
+ return LASSO_WSSEC_ERROR_BAD_PASSWORD;
}
break;
default: