dovecot-2.2: auth: Minor code cleanup
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 7 20:22:56 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/96660987de96
changeset: 17342:96660987de96
user: Timo Sirainen <tss at iki.fi>
date: Wed May 07 23:22:13 2014 +0300
description:
auth: Minor code cleanup
diffstat:
src/auth/mech-rpa.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r f32e7ca24292 -r 96660987de96 src/auth/mech-rpa.c
--- a/src/auth/mech-rpa.c Wed May 07 20:24:05 2014 +0300
+++ b/src/auth/mech-rpa.c Wed May 07 23:22:13 2014 +0300
@@ -557,8 +557,7 @@
struct rpa_auth_request *request =
(struct rpa_auth_request *)auth_request;
- if (request->pwd_md5 != NULL)
- safe_memset(request->pwd_md5, 0, sizeof(request->pwd_md5));
+ safe_memset(request->pwd_md5, 0, sizeof(request->pwd_md5));
pool_unref(&auth_request->pool);
}
More information about the dovecot-cvs
mailing list