[openssl-users] Where to find definitions of certain functions

Ajay Garg ajaygargnsit at gmail.com
Sat Oct 15 15:43:21 UTC 2016


Hardly helps :(

*nm -o /usr/lib/i386-linux-gnu/libcrypto.a  | grep ASN1_TIME_t*
nm: ebcdic.o: no symbols
/usr/lib/i386-linux-gnu/libcrypto.a:a_time.o:00000230 T
ASN1_TIME_to_generalizedtime
/usr/lib/i386-linux-gnu/libcrypto.a:ocsp_srv.o:         U
ASN1_TIME_to_generalizedtime

On Sat, Oct 15, 2016 at 9:08 PM, Salz, Rich <rsalz at akamai.com> wrote:

> > grep -r ASN1_TIME\( ~/openssl/openssl/
> > /home/ajay/openssl/openssl/crypto/asn1/a_time.c:int
> i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **pp)
>
> > How to search for such symbols in the cloned source-code?
>
> Much of the ASN1 data structures are created by macros and it will not be
> immediately obvious to newcomers how it works.
>
> Your best bet is to use "nm -o" on the library and find the file, and then
> work backward from there.
>
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>



-- 
Regards,
Ajay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20161015/c5dcfe10/attachment-0001.html>


More information about the openssl-users mailing list