[openssl-dev] where is PEM_read_bio_X509_AUX()

CHOW Anthony anthony.chow at al-enterprise.com
Tue Apr 19 02:12:30 UTC 2016


thanks so much.  Let me look into .../crypto/pem/ directory.

-----Original Message-----
From: openssl-dev [mailto:openssl-dev-bounces at openssl.org] On Behalf Of Wim Lewis
Sent: Monday, April 18, 2016 7:05 PM
To: openssl-dev at openssl.org
Subject: Re: [openssl-dev] where is PEM_read_bio_X509_AUX()


On Apr 18, 2016, at 6:11 PM, CHOW Anthony <anthony.chow at al-enterprise.com> wrote:
> I am trying to do “openssl verify –CAfile server.pem” and the command hang.  When I debug, I see that after calling the function PEM_read_bio_X509_AUX in load_cert() it hangs.  
>  
> But I don’t seems to find this function in the OpenSSL tree. 
>  
> Any insight on this?  Thanks so much.

The macros DECLARE_PEM_rw and IMPLEMENT_PEM_rw, which are defined in crypto/pem/pem.h, produce a bunch of functions for reading and writing structures in various ways (with a BIO, from a FILE *, from a string buffer, etc). In this case, I think the function you're looking at is produced by the macro invocation "IMPLEMENT_PEM_rw(X509_AUX, X509, PEM_STRING_X509_TRUSTED, X509_AUX)" in crypto/pem/pem_xaux.c.

Possibly it's hanging waiting to read something from stdin.



-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


More information about the openssl-dev mailing list