Shanku Roy wrote:
I have tried following:

crypto/rsa > nm --print-file-name *.o | grep d2i_RSAPrivateKey
33:rsa_asn1.o:000000ec T d2i_RSAPrivateKey

crypto/rsa > gcc -E rsa_asn1.c | grep d2i_RSAPrivateKey
rsa_asn1.c:60:22: cryptlib.h: No such file or directory
3249:RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len); int
i2d_RSAPrivateKey(const RSA *a, unsigned char **out); extern const ASN1_ITEM 
RSAPrivateKey_it;
3492:        (D2I_OF(void)) d2i_RSAPrivateKey,
3534:RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len) { 
return (RSA
*)ASN1_item_d2i((ASN1_VALUE **)a, (unsigned char **)in, len, 
(&(RSAPrivateKey_it))); } int
i2d_RSAPrivateKey(const RSA *a, unsigned char **out) { return 
ASN1_item_i2d((ASN1_VALUE *)a, out,
(&(RSAPrivateKey_it))); }
crypto/rsa >
I tried locating line 3249 and 3534 in rsa_asn1.c, but that file donot have 
that many lines...it
has only 121 lines:

"rsa_asn1.c" 121 lines --100%-- 121,2-9

When you grep in the pre-processed file, I think you're also supposed to look for those lines in the pre-processed file..

-jb
--
Real computer scientists don't comment their code.  The identifiers are
so long they can't afford the disk space.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to