openssl smime and certificates chains in signatures?

2001-10-17 Thread Dima Volodin
My understanding is that usually there's a complete certificates chain in a smime signature. Is there a way to extract _all_ the certificates in the chain using openssl command? openssl pkcs7 -print_certs seems to extract only the signer's certificate and not any of the intermediate or CA certific

Re: Example of OpenSSL Multithreading

2001-08-28 Thread Dima Volodin
On Tue, 28 Aug 2001 12:13:40 -0400, you wrote: >> /*** anyway, pthread_once is not too good either - something >> like a C++ constructor on a global static variable would be >> much better ***/ >> pthread_once(&tid_once, init_openssl_tid); > >That's not portable -- go look

Re: Example of OpenSSL Multithreading

2001-08-28 Thread Dima Volodin
On Mon, 27 Aug 2001 14:50:39 -0400, you wrote: >> > unsigned long SSL_pthreads_thread_id(void) { >> > unsigned long ret; >> > ret=(unsigned long)pthread_self(); >> > return(ret); >> > } > >> > The return type of pthread_self(), pthread_t, is not necessary a type >> > castable to unsigned lo