diff --git a/configure.in b/configure.in
index 2a19f069829eda38b3ea5db37d8204a8574b1f26..8f906485fe8a585cd92e8f30875a775eaebd422f 100644
--- a/configure.in
+++ b/configure.in
@@ -15,8 +15,6 @@ AC_PROG_CC
 AC_PROG_MAKE_SET
 AC_PROG_RANLIB
 
-dnl AC_DEFINE([HAVE_OPENSSL], 0, [Define if OpenSSL was found.])
-
 # The big search for OpenSSL
 # copied from openssh's configure.ac
 AC_ARG_WITH(ssl-dir,
@@ -103,7 +101,6 @@ int main(void)
 ])
 if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ;
  then
-        AC_DEFINE(HAVE_OPENSSL)
         dnl Need to recover ssldir - test above runs in subshell
         ssldir=$ac_cv_openssldir
         if test ! -z "$ssldir" -a "x$ssldir" != "x/usr"; then
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index c599c3f445b5912068d3306b0e12bcc845fa5408..18a31e7b421824d35ef5c567cfba4d9f29d07512 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -2,7 +2,6 @@
  * orconfig.h  -- This file is *not* generated by autoconf.  Instead,
  * it has to be hand-edited to keep win32 happy.
  */
-#define HAVE_OPENSSL
 
 /* Define to 1 if you have the <arpa/inet.h> header file. */
 #undef HAVE_ARPA_INET_H