Even if the STORE stuff is highly experimental I'd like to use it one
day... BTW I hacked a 0.9.7 to add LDAP retrieval of certs and CRLs so
as soon as STORE_Directory()/STORE_File() are ready I'll be glad to
give a STORE_Ldap()...
To come to the bug:

#define check_store(s,fncode,fnname,fnerrcode) \
do \
{ \
if ((s) == NULL || (s)->meth) \
{ \
STOREerr((fncode), ERR_R_PASSED_NULL_PARAMETER); \
return 0; \
} \
if ((s)->meth->fnname == NULL) \
{ \
STOREerr((fncode), (fnerrcode)); \
return 0; \
} \
} \
while(0)

the second test on (s)->meth should be == NULL.

Regards

Francis.Dupont@enst-bretagne.fr

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org