OpenBSD does NOT require -lcrypt, DES encryption is part of the standard libc.

Index: configure
--- configure.orig
+++ configure
@@ -4240,46 +4240,6 @@ then :
 fi
 
 
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
-printf %s "checking for main in -lcrypt... " >&6; }
-if test ${ac_cv_lib_crypt_main+y}
-then :
-  printf %s "(cached) " >&6
-else $as_nop
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcrypt  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-
-int
-main (void)
-{
-return main ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
-  ac_cv_lib_crypt_main=yes
-else $as_nop
-  ac_cv_lib_crypt_main=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
-printf "%s\n" "$ac_cv_lib_crypt_main" >&6; }
-if test "x$ac_cv_lib_crypt_main" = xyes
-then :
-  printf "%s\n" "#define HAVE_LIBCRYPT 1" >>confdefs.h
-
-  LIBS="-lcrypt $LIBS"
-
-fi
-
 
 
 # Check whether --with-dummy was given.
