# HG changeset patch # User Maxim Dounin # Date 1686748038 -10800 # Node ID 032ccd3118cbd5a4cc170a12667cc31ddd279c1f # Parent f61d1b4ac638e756c7540dff4d2d69a82d7274fb Tests: fixed warning on win32 in auth_basic.t. diff --git a/auth_basic.t b/auth_basic.t --- a/auth_basic.t +++ b/auth_basic.t @@ -64,8 +64,8 @@ EOF $t->write_file( 'htpasswd', - 'crypt:' . crypt('password', 'salt') . "\n" . - 'crypt1:' . crypt('password', '$1$salt$') . "\n" . + 'crypt:' . (crypt('password', 'salt') || '') . "\n" . + 'crypt1:' . (crypt('password', '$1$salt$') || '') . "\n" . 'crypt2:' . '$1$' . "\n" . 'apr1:' . '$apr1$salt$Xxd1irWT9ycqoYxGFn4cb.' . "\n" . 'apr12:' . '$apr1$' . "\n" .