[xmlsec] Reading openssl config

Dmitry Belyavsky beldmit at cryptocom.ru
Mon Jan 23 05:46:06 PST 2006


Greetings!

I've found the support of openssl configuration files is absent in
xmlsec. I need this support to load engine using config.

The patch providing this support is attached.

Thank you!

-- 
SY, Dmitry Belyavsky (ICQ UIN 11116575)
-------------- next part --------------
Index: src/openssl/app.c
===================================================================
RCS file: /cvs/xmlsec/src/openssl/app.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 app.c
--- src/openssl/app.c	6 Dec 2005 09:29:16 -0000	1.1.1.1
+++ src/openssl/app.c	23 Jan 2006 13:43:26 -0000
@@ -49,6 +49,7 @@
 int
 xmlSecOpenSSLAppInit(const char* config) {
     ERR_load_crypto_strings();
+		OPENSSL_config();
     OpenSSL_add_all_algorithms();
 
     if((RAND_status() != 1) && (xmlSecOpenSSLAppLoadRANDFile(NULL) != 1)) {


More information about the xmlsec mailing list