History log of /dovecot/src/auth/password-scheme-md5crypt.c
Revision Date Author Comments Expand
23bdbb7b1831785c6ba6df190f6369da882d2b9d 06-Jun-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

global: Require comparisons to be strict boolean expressions * No implicit integer -> boolean or pointer -> boolean conversions * !expr can be used only if expr is boolean type These were checked with a patched clang. It found various actual bugs, which were fixed by the previous commits.

db-ldap.c mech-digest-md5.c mech-ntlm.c mech-scram-sha1.c password-scheme-md5crypt.c password-scheme-rpa.c /dovecot/src/director/director-connection.c /dovecot/src/doveadm/doveadm-auth.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-util.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/imap/imap-sync.c /dovecot/src/lib-dcrypt/dcrypt-openssl.c /dovecot/src/lib-dict-extra/dict-ldap-settings.c /dovecot/src/lib-http/http-server-request.c /dovecot/src/lib-http/test-http-client-errors.c /dovecot/src/lib-http/test-http-payload.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-index/mail-index-sync-ext.c /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-lda/duplicate.c /dovecot/src/lib-ldap/ldap-connection.c /dovecot/src/lib-mail/message-header-parser.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/test-message-header-encode.c /dovecot/src/lib-mail/test-message-parser.c /dovecot/src/lib-master/test-master-service-settings-cache.c /dovecot/src/lib-ntlm/ntlm-des.c /dovecot/src/lib-ntlm/ntlm-encrypt.c /dovecot/src/lib-ntlm/ntlm-message.c /dovecot/src/lib-otp/otp-parse.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings.c /dovecot/src/lib-sql/driver-cassandra.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-ssl-iostream/iostream-openssl-context.c /dovecot/src/lib-ssl-iostream/iostream-openssl.c /dovecot/src/lib-storage/index/maildir/maildir-filename-flags.c /dovecot/src/lib-storage/index/maildir/maildir-filename.c /dovecot/src/lib-storage/index/mbox/mbox-file.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/mail-search.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib/askpass.c /dovecot/src/lib/buffer.h /dovecot/src/lib/compat.h /dovecot/src/lib/file-cache.c /dovecot/src/lib/file-lock.c /dovecot/src/lib/hash.c /dovecot/src/lib/ioloop-select.c /dovecot/src/lib/macros.h /dovecot/src/lib/md4.c /dovecot/src/lib/md5.c /dovecot/src/lib/net.c /dovecot/src/lib/test-timing.c /dovecot/src/lib/test-unichar.c /dovecot/src/lib/var-expand.c /dovecot/src/lib/wildcard-match.c /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/service-process.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/push-notification/push-notification-event-flagsclear.c /dovecot/src/plugins/push-notification/push-notification-event-flagsset.c /dovecot/src/plugins/push-notification/push-notification-event-messageappend.c /dovecot/src/plugins/push-notification/push-notification-event-messagenew.c /dovecot/src/plugins/push-notification/push-notification-event-messageread.c /dovecot/src/plugins/push-notification/push-notification-event-messagetrash.c /dovecot/src/plugins/push-notification/push-notification-plugin.c /dovecot/src/plugins/quota/Makefile.am /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-commands.c
b193066823000095cae0781445fe9234c7c01366 09-Oct-2006 Timo Sirainen <tss@iki.fi>

Based on password length detect if it's hex-encoded or sha1-encoded. Also use MD[45]_RESULTLEN macros instead of hardcoded 16 value. --HG-- branch : HEAD

44ebfb00d4900d4d4759f19ecb56aa9f42dcf31e 16-Jan-2005 Timo Sirainen <tss@iki.fi>

MD5crypt was broken with 64bit systems. --HG-- branch : HEAD

94a78eb438622fa53abef1e1726714dacad4b61c 10-Nov-2003 Timo Sirainen <tss@iki.fi>

CRAM-MD5 mechanism by Joshua Goodall, plus some cleanups. --HG-- branch : HEAD