openssl-malloc-init.patch 518 B

123456789101112131415161718192021
  1. --- httpd-2.4.25/support/ab.c.orig 2017-05-21 21:59:17.131193359 +0000
  2. +++ httpd-2.4.25/support/ab.c 2017-05-21 22:01:34.704322361 +0000
  3. @@ -2496,6 +2496,8 @@
  4. heartbeatres = 0;
  5. #ifdef USE_SSL
  6. + SSL_load_error_strings();
  7. + SSL_library_init();
  8. #ifdef RSAREF
  9. R_malloc_init();
  10. #else
  11. @@ -2505,8 +2507,6 @@
  12. OPENSSL_malloc_init();
  13. #endif
  14. #endif
  15. - SSL_load_error_strings();
  16. - SSL_library_init();
  17. bio_out=BIO_new_fp(stdout,BIO_NOCLOSE);
  18. bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);