Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

about libcrypto.o and libssl.o

146 views
Skip to first unread message

Wu Junwei

unread,
Jun 30, 2003, 4:16:17 AM6/30/03
to
This is a multi-part message in MIME format.

------=_NextPart_000_00D9_01C33F2B.17B16070
Content-Type: text/plain;
charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit

Hi,all

I know OpenSSL provides 2 objects, libcrypto.o and libssl.o.
How can I judge which function is in which of them?

Are the following functions in libcrypto.o?

SSL_CTX_new(), defined in ssl_lib.c.
BIO_new_ssl(),defined in bio_ssl.c.
SSLv23_client_method(),defined in s23_clnt.c
SSL_CTX_ctrl(),defined in ssl_lib.c.

Thanks,

wjw


------=_NextPart_000_00D9_01C33F2B.17B16070
Content-Type: text/html;
charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-2022-jp">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Hi,all</DIV>
<DIV>&nbsp;</DIV>
<DIV>I know OpenSSL provides 2 objects, libcrypto.o and libssl.o.</DIV>
<DIV>How can I judge which function is in which of them?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Are the following functions in=20
libcrypto.o?<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;SSL_C=
TX_new=1B$B!J!K!$=1B(B=20
defined in ssl_lib.c.</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;BIO_new_ssl=1B$B!J!K!$=1B(Bdefined in=20
bio_ssl.c.<BR>&nbsp;&nbsp;&nbsp;&nbsp;SSLv23_client_method=1B$B!J!K!$=1B(=
Bdefined in=20
s23_clnt.c<BR>&nbsp;&nbsp;&nbsp;&nbsp;SSL_CTX_ctrl=1B$B!J!K!$=1B(Bdefined=
in ssl_lib.c.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>wjw<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;<BR></DIV></BOD=
Y></HTML>

------=_NextPart_000_00D9_01C33F2B.17B16070--

______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

Dr. Stephen Henson

unread,
Jun 30, 2003, 7:34:33 AM6/30/03
to
On Mon, Jun 30, 2003, Wu Junwei wrote:

> Hi,all
>=20


> I know OpenSSL provides 2 objects, libcrypto.o and libssl.o.
> How can I judge which function is in which of them?

>=20


> Are the following functions in libcrypto.o?

> =20
> SSL_CTX_new=1B$B!J!K!$=1B(B defined in ssl_lib.c.
> BIO_new_ssl=1B$B!J!K!$=1B(Bdefined in bio_ssl.c.
> SSLv23_client_method=1B$B!J!K!$=1B(Bdefined in s23_clnt.c
> SSL_CTX_ctrl=1B$B!J!K!$=1B(Bdefined in ssl_lib.c.
>=20

Everything in the ssl directory (all the above) appears in libssl, everythi=
ng
under crypto appears in libcrypto.

Steve.
--
Dr Stephen N. Henson.
Core developer of the OpenSSL project: http://www.openssl.org/
Freelance consultant see: http://www.drh-consultancy.demon.co.uk/
Email: she...@drh-consultancy.demon.co.uk, PGP key: via homepage.

Fred Crable

unread,
Jun 30, 2003, 9:41:00 AM6/30/03
to
FYI -- You can also use "nm" to dump out all the symbols defined in a
library.

Fred Crable
Voyence

-----Original Message-----
From: Dr. Stephen Henson [mailto:st...@openssl.org]
Sent: Monday, June 30, 2003 6:34 AM
To: openss...@openssl.org
Subject: Re: about libcrypto.o and libssl.o


On Mon, Jun 30, 2003, Wu Junwei wrote:

> Hi,all
>=20
> I know OpenSSL provides 2 objects, libcrypto.o and libssl.o.
> How can I judge which function is in which of them?
>=20
> Are the following functions in libcrypto.o?
> =20
> SSL_CTX_new=1B$B!J!K!$=1B(B defined in ssl_lib.c.
> BIO_new_ssl=1B$B!J!K!$=1B(Bdefined in bio_ssl.c.
> SSLv23_client_method=1B$B!J!K!$=1B(Bdefined in s23_clnt.c
> SSL_CTX_ctrl=1B$B!J!K!$=1B(Bdefined in ssl_lib.c.
>=20

Everything in the ssl directory (all the above) appears in libssl,

everything

0 new messages