summaryrefslogtreecommitdiff
path: root/passwd
diff options
context:
space:
mode:
Diffstat (limited to 'passwd')
-rw-r--r--passwd/apr_md5.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/passwd/apr_md5.c b/passwd/apr_md5.c
index 76a16b494..4c9ac4969 100644
--- a/passwd/apr_md5.c
+++ b/passwd/apr_md5.c
@@ -718,8 +718,9 @@ APR_DECLARE(apr_status_t) apr_password_validate(const char *passwd,
#else
/* XXX if this is a threaded build, we should hold a mutex
* around the next two lines... but note that on some
- * platforms (e.g., Solaris, HP-UX) crypt() returns a
- * pointer to thread-specific data
+ * platforms (e.g., Solaris, HP-UX, OS/390) crypt()
+ * returns a pointer to thread-specific data so we don't
+ * want a mutex on those platforms
*/
crypt_pw = crypt(passwd, hash);
apr_cpystrn(sample, crypt_pw, sizeof(sample) - 1);