Extracting X509 Policies that are searchable

2011-04-15 Thread Cason, Kenny
I need to search the X509 text for certain values, usually contained in the Policies. Using X509_print to obtain the text works in my test program but, for unknown reasons, that call crashes the main program that invokes my subroutine. So I'm looking for an alternate way to obtain the cert text

Custom Optimization flags

2011-04-15 Thread John
Hey guys, I've got a couple of quick questions regarding building openSSL with custom compiler optimization flags. I'm attempting to optimize the builds of some select OS components specifically for the Intel Atom under Linux, (I'm using the 2.6.37 kernel, glibc 2.13, binutils 2.21, gcc 4.5.2; my

Re: Extracting X509 Policies that are searchable

2011-04-15 Thread Patrick Patterson
Hi Kenny: On April 14, 2011 07:41:51 pm you wrote: Here is the alternative I have so far: CERTIFICATEPOLICIES *cp; if ((cp = (CERTIFICATEPOLICIES*) X509_get_ext_d2i(X509cert, NID_certificate_policies, NULL, NULL)) == NULL) { printMsg(decodeX509cert: no policies found); }

Re: Custom Optimization flags

2011-04-15 Thread Eric S. Eberhard
In real life I have found various optimizations to cause more trouble than not, and to not really change real-world performance. Unless you are in a hard loop encrypting/decrypting I don't think anyone will notice. I do 10s of thousands of encryption/decryption calls each day and they add no