• unknown's avatar
    Fix for · 59445ce4
    unknown authored
    BUG#10675 - MySQL fails to build with --openssl on Mac OS X 10.4
    BUG#11150 - HP-UX yaSSL/OpenSSL configure/header problem
    Remove obsolete code.
    
    
    include/my_global.h:
      Obsolete code removed. OpenSSL doesn't have crypt anymore (it was dropped in ~2003).
      This patch fixes compilation failures with both OpenSSL and yaSSL on systems where
      crypt was defined in unistd.h.
      Conclusion is we do not use OpenSSL's crypt unless it wasn't defined in
      unistd.h/crypt.h and it was defined in old OpenSSL.
    59445ce4
my_global.h 34.2 KB