dovecot-2.0: doveadm: Compile fix for previous auth change.

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 1 16:57:36 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/e5d4f165e50c
changeset: 12943:e5d4f165e50c
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 01 17:05:58 2011 +0300
description:
doveadm: Compile fix for previous auth change.

diffstat:

 src/doveadm/doveadm-pw.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r dfb38f346e8c -r e5d4f165e50c src/doveadm/doveadm-pw.c
--- a/src/doveadm/doveadm-pw.c	Sat Oct 01 16:49:30 2011 +0300
+++ b/src/doveadm/doveadm-pw.c	Sat Oct 01 17:05:58 2011 +0300
@@ -93,8 +93,10 @@
 	if (Vflag == 1) {
 		const unsigned char *raw_password;
 		size_t size;
+		const char *error;
 
-		if (password_decode(hash, scheme, &raw_password, &size) <= 0) {
+		if (password_decode(hash, scheme, &raw_password, &size,
+				    &error) <= 0) {
 			fprintf(stderr, "reverse decode check failed\n");
 			exit(2);
 		}


More information about the dovecot-cvs mailing list