$OpenBSD: patch-src_modules_rlm_otp_configure,v 1.1 2008/01/21 22:21:24 rui Exp $
--- src/modules/rlm_otp/configure.orig	Wed May 23 21:29:24 2007
+++ src/modules/rlm_otp/configure	Mon Jan 21 16:21:31 2008
@@ -2905,7 +2905,7 @@ if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl  $LIBS"
+LIBS="-lcrypto -lssl  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
