Отв.: OpenSSL and GOST engine issue (statically linked library )

2012-06-21 Thread Abyss Lingvo
От: Alexandre Aufrere Кому: openssl-users@openssl.org Копия: Abyss Lingvo Отправлено: пятница, 15 июня 2012 19:16 Тема: Re: OpenSSL and GOST engine issue (statically linked library ) Hello, IIRC, when you do dynamic linkage, the conf file is parsed and engine initiated as per

Re: OpenSSL and GOST engine issue (statically linked library )

2012-06-18 Thread Abyss Lingvo
Hi All, My OPENSSL_config(const char *config_name) call was incorrect. I thought that config_name is the path to configuration file. But it is config name. http://www.openssl.org/docs/crypto/OPENSSL_config.html As usual it is impossible to understand what config_name is it using openssl document

OpenSSL and GOST engine issue (statically linked library )

2012-06-16 Thread Abyss Lingvo
sers@openssl.org Копия: Abyss Lingvo Отправлено: пятница, 15 июня 2012 18:16 Тема: Re: OpenSSL and GOST engine issue (statically linked library ) Hello, IIRC, when you do dynamic linkage, the conf file is parsed and engine initiated as per conf file, not when you do static linkage. Hence yo

Re: OpenSSL and GOST engine issue (statically linked library )

2012-06-15 Thread Alexandre Aufrere
formation how to handle with engines (especially in case of statically linkage). *От:* Vladimir Belov *Кому:* openssl-users@openssl.org *Отправлено:* четверг, 14 июня 2012 18:01 *Тема:* Re: OpenSSL and GOST engine issue (

Re: OpenSSL and GOST engine issue (statically linked library )

2012-06-15 Thread Vladimir Belov
-- From: Abyss Lingvo Sent: Friday, June 15, 2012 10:34 AM To: openssl-users@openssl.org Subject: OpenSSL and GOST engine issue (statically linked library ) Hi Vladimir, I have inserted your code into my application between OPENSSL_config("corr

OpenSSL and GOST engine issue (statically linked library )

2012-06-14 Thread Abyss Lingvo
release 'e' */     ERR_print_errors(bf_log);     ENGINE_free(e);     return 1;   } From: Abyss Lingvo Sent: Wednesday, June 13, 2012 5:21 PM To: openssl-users@openssl.org Subject:

Re: OpenSSL and GOST engine issue (statically linked library )

2012-06-14 Thread Vladimir Belov
ENGINE_free(e); return 1; } From: Abyss Lingvo Sent: Wednesday, June 13, 2012 5:21 PM To: openssl-users@openssl.org Subject: OpenSSL and GOST engine issue (statically linked library ) Hi all ! This is my firs

Re: OpenSSL and GOST engine issue (statically linked library )

2012-06-14 Thread Vladimir Belov
tion is ok ENGINE_free(e); ENGINE_cleanup(); --- From: Abyss Lingvo Sent: Wednesday, June 13, 2012 5:21 PM To: openssl-users@openssl.org Subject: OpenSSL and GOST engine issue (statically linked library ) Hi all ! This is my first mail to openssl mailing list. I have a problem w

OpenSSL and GOST engine issue (statically linked library )

2012-06-14 Thread Abyss Lingvo
ything works fine.   От: Andrey Koltsov Кому: "openssl-users@openssl.org" Отправлено: четверг, 14 июня 2012 16:40 Тема: Re: OpenSSL and GOST engine issue (statically linked library ) Do you have following sections in you openssl.cnf file? [openssl_def] engines = engine_section [engi

Re: OpenSSL and GOST engine issue (statically linked library )

2012-06-14 Thread Andrey Koltsov
Do you have following sections in you openssl.cnf file? [openssl_def] engines = engine_section [engine_section] gost = gost_section [gost_section] engine_id = gost default_algorithms = ALL CRYPT_PARAMS = id-Gost28147-89-CryptoPro-A-ParamSet There should not be any dynamic_path parameter in gos

OpenSSL and GOST engine issue (statically linked library )

2012-06-14 Thread Abyss Lingvo
I have added OpenSSL_add_all_algorithms(); function call to initialization part but without success. The same behavior as before. What's more for dynamically linked version it works without OpenSSL_add_all_algorithms() call. 

Re: OpenSSL and GOST engine issue (statically linked library )

2012-06-13 Thread Andrey Koltsov
Hi. I think you should add OpenSSL_add_all_algorithms(); in your initialization part. Best regards, Andrey Koltsov software developer 13.06.2012 17:21, Abyss Lingvo написал: Hi all ! This is my first mail to openssl mailing list. I have a problem with statically linked openSSL library and G

OpenSSL and GOST engine issue (statically linked library )

2012-06-13 Thread Abyss Lingvo
Hi all ! This is my first mail to openssl mailing list. I have a problem with statically linked openSSL library and GOST crypto engine.  Openssl 1.0.0g   I have simple client/server application using GOST keys and certificates. It works fine with GOST keys but only if I use dynamically linked