Date: Fri, 31 Mar 2000 21:28:34 -0500 From: Jim Bloom <bloom@acm.org> To: Dirk Roehrdanz <Dirk.Roehrdanz@munich.netsurf.de> Cc: current@FreeBSD.ORG Subject: Re: RSA library problems Message-ID: <38E55ED2.6A41C3DD@acm.org> References: <38DA4E03.CB2E84A8@originative.co.uk> <Pine.BSF.4.21.0003240014440.7812-100000@freefall.freebsd.org> <20000331122424.A19141@diroxfbsd.dx>
next in thread | previous in thread | raw e-mail | index | archive | help
A similar patch was added for the USA version of RSA for the same basic reason. Your patch is almost correct. It should add the line: LDADD+= -L$[.OBJDIR]/../libcrypto -lcrypto Your version would reference the system crypto library and not the one being built as part of buildworld. Jim Bloom bloom@acm.org Dirk Roehrdanz wrote: > > I had the same problem. "BN_mod_exp_mont" is in libcrypto,but isn't > visible from librsaINTL.so because libcrypto is loaded in conjunction > with the load of /usr/local/libexec/apache/libssl.so via dlopen() . > The man page to dlopen states " The symbols exported by objects added > to the address space by dlopen() can be accessed only through calls > to dlsym()". > I have solved the problem with the attached patch. It adds libcrypto > to the list of linked libs. > Maybe there is a better solution,who knows ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38E55ED2.6A41C3DD>