diff src/auth/auth-request.h @ 5598:971050640e3b HEAD

All password schemes can now be encoded with base64 or hex. The encoding is ".b64", ".base64" or ".hex" suffix in the scheme, eg. {plain.b64}. Password scheme verification function can now be set to NULL, in which case the verification is done by generating a new crypted password from given plaintext password and comparing it.
author Timo Sirainen <tss@iki.fi>
date Sun, 13 May 2007 15:17:09 +0300
parents f8dc0bdb06a7
children bdb16967be64
line wrap: on
line diff
--- a/src/auth/auth-request.h	Sun May 13 14:53:05 2007 +0300
+++ b/src/auth/auth-request.h	Sun May 13 15:17:09 2007 +0300
@@ -157,7 +157,8 @@
 void auth_request_verify_plain_callback(enum passdb_result result,
 					struct auth_request *request);
 void auth_request_lookup_credentials_callback(enum passdb_result result,
-					      const char *credentials,
+					      const unsigned char *credentials,
+					      size_t size,
 					      struct auth_request *request);
 void auth_request_set_credentials(struct auth_request *request,
 				  const char *scheme, const char *data,