~ubuntu-branches/ubuntu/trusty/apr-util/trusty-proposed

« back to all changes in this revision

Viewing changes to crypto/apr_md5.c

  • Committer: Package Import Robot
  • Author(s): Stefan Fritsch
  • Date: 2012-08-15 20:10:55 UTC
  • Revision ID: package-import@ubuntu.com-20120815201055-lua2i7ne46ee1bta
Tags: 1.4.1-3
Fix apr_password_validate() to work with sha512-crypt hashes.
Closes: #684268

Show diffs side-by-side

added added

removed removed

Lines of Context:
698
698
APU_DECLARE(apr_status_t) apr_password_validate(const char *passwd, 
699
699
                                                const char *hash)
700
700
{
701
 
    char sample[120];
 
701
    char sample[200];
702
702
#if !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
703
703
    char *crypt_pw;
704
704
#endif