[openssl-dev] where is PEM_read_bio_X509_AUX()
Wim Lewis
wiml at omnigroup.com
Tue Apr 19 02:05:12 UTC 2016
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.
More information about the openssl-dev
mailing list