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

Salz, Rich rsalz at akamai.com
Sat Oct 15 15:38:51 UTC 2016


> 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.



More information about the openssl-users mailing list