Re: [openssl-users] Check if key is unlocked

2016-10-15 Thread shawn wilson
Blah, auto complete bit me - sorry, wrong ml / ot :( On Oct 14, 2016 10:45, "Salz, Rich" wrote: > > Is there a way to to check (from a script) if a key in the agent is > unlocked? > > Agent? Do you mean ssh? This is openssl :) > -- > openssl-users mailing list > To unsubscribe: https://mta.ope

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

2016-10-15 Thread Ajay Garg
Hi All. I plan to integrate openssl in our client-side-framework, so that we can remove all the unneeded stuff (as the TLS-versions, and certificate-management is controlled by the server only, which is only a limited subset amongst the vast feature-set of openssl). As part of this, I am first br

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

2016-10-15 Thread Matt Caswell
On 15/10/16 13:43, Ajay Garg wrote: > Hi All. > > I plan to integrate openssl in our client-side-framework, so that we can > remove all the unneeded stuff (as the TLS-versions, and > certificate-management is controlled by the server only, which is only a > limited subset amongst the vast featur

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

2016-10-15 Thread Ajay Garg
Thanks Matt. That helped. However, I am now searching for symbols like ASN_TIME_it, but I get nothing useful :: *grep -r ASN1_TIME_it ~/openssl/openssl/* /home/ajay/openssl/openssl/util/libeay.num:ASN1_TIME_it2715 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: /home/ajay/openssl/openssl/util/libe

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

2016-10-15 Thread Salz, Rich
> 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 obvi

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

2016-10-15 Thread Ajay Garg
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:0230 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

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

2016-10-15 Thread Salz, Rich
> Hardly helps :( ➢ /usr/lib/i386-linux-gnu/libcrypto.a:a_time.o:0230 T ASN1_TIME_to_generalizedtime Sure it does. You know it's in a_time.c, which is crypto/asn1/a_time.c And if you look in that file you see "IMPLEMENT_ASN1_FJUNCTIONS" with an ASN1_TIME argument. So, start digging. -