On Mon, May 16, 2011 at 9:53 AM, John Hascall <j...@iastate.edu> wrote: > >> Duh, thanks to the people who pointed out that the pointer returned by >> PEM_read_bio_RSA_PUBKEY might be null, and indeed it is (sadly I have to use >> Xcode, which refuses to show any local variables and GDB claims they don't >> exist). > > This is probably the optimizer, try compiling with -O0 -g3 > (and make sure you/the linker aren't stripping symbols) > Pretty much always a good idea when developing. Don't forget to define DEBUG and NDEBUG for debug and release. And for debug builds, -Wall -Wextra goes a long way (it beats checking boxes).
Jeff ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org