perl/perl-saltbits.diff
2024-02-05 14:47:08 +08:00

11 lines
425 B
Diff

--- ./pp.c.orig 2020-10-30 11:45:18.797664301 +0000
+++ ./pp.c 2020-10-30 11:46:28.237474681 +0000
@@ -3745,8 +3745,6 @@ PP(pp_crypt)
#if defined(__GLIBC__) || defined(__EMX__)
if (PL_reentrant_buffer->_crypt_struct_buffer) {
PL_reentrant_buffer->_crypt_struct_buffer->initialized = 0;
- /* work around glibc-2.2.5 bug */
- PL_reentrant_buffer->_crypt_struct_buffer->current_saltbits = 0;
}
#endif
}