Re: Same issue

Glynn Clements <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Mário Gamito wrote:

> After compiling openssl as shared, many errors compiling courier-imap 
> agains it gone away, but one persists:
> 
> "/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:216: undefined
> reference to `RSA_generate_key'"

My copy of <openssl/rsa.h> has this:

	/* Deprecated version */
	#ifndef OPENSSL_NO_DEPRECATED
	RSA *	RSA_generate_key(int bits, unsigned long e,void
			(*callback)(int,int,void *),void *cb_arg);
	#endif /* !defined(OPENSSL_NO_DEPRECATED) */
	
	/* New version */
	int	RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);

It may be that more recent versions of the library no longer have the
old version of the function.

-- 
Glynn Clements <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.