<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-978</id>
	<title>Nabble - OpenSSL</title>
	<updated>2009-11-27T06:05:54Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/OpenSSL-f978.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenSSL-f978.html" />
	<subtitle type="html">The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. OpenSSL home is &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26542852</id>
	<title>RE: Adding a custom engine to OpenSSL</title>
	<published>2009-11-27T06:05:54Z</published>
	<updated>2009-11-27T06:05:54Z</updated>
	<author>
		<name>Loke Jun Han</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Thanks, will try it out as soon as I can.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Jun Han&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Thu, 26 Nov 2009 13:24:29 +0100&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve@...&lt;/a&gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Subject: Re: Adding a custom engine to OpenSSL&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On Thu, Nov 26, 2009, Loke Jun Han wrote:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Hi,&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt;        Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Yes, you specify details in the configuration file openssl.cnf, for the syntax&lt;br&gt;&amp;gt; see:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; http://www.openssl.org/docs/apps/config.html&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Steve.&lt;br&gt;&amp;gt; --&lt;br&gt;&amp;gt; Dr Stephen N. Henson. OpenSSL project core developer.&lt;br&gt;&amp;gt; Commercial tech support now available see: http://www.openssl.org&lt;br&gt;&amp;gt; ______________________________________________________________________&lt;br&gt;&amp;gt; OpenSSL Project                                 http
 ://www.openssl.org&lt;br&gt;&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542852&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;/div&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;New Windows 7: Find the right PC for you. &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26542852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542828</id>
	<title>[openssl.org #2113] 1.0.0-beta4 build with mingw-w64's 32-bit compiler fails</title>
	<published>2009-11-27T06:03:11Z</published>
	<updated>2009-11-27T06:03:11Z</updated>
	<author>
		<name>Misha Aizatulin via RT</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have experienced the enclosed failure during building of
&lt;br&gt;openssl-1.0.0-beta4 by 32-bit native compiler from mingw-w64.sf.net project.
&lt;br&gt;&lt;br&gt;At the beginning it might be good to summarize how many mingws we
&lt;br&gt;currently have:
&lt;br&gt;#1) 32-bit gcc-3.x toolchan from mingw.org project
&lt;br&gt;#2) 32-bit gcc-4.x toolchan from mingw.org project
&lt;br&gt;#3) 32-bit gcc-4.x toolchan from mingw-w64.sf.net project
&lt;br&gt;#4) 64-bit gcc-4.x toolchan from mingw-w64.sf.net project
&lt;br&gt;&lt;br&gt;Yes, it might be slightly confusing but mingw-w64 project delivers not
&lt;br&gt;only 64-bit Windows toolchain but also 32-bit one.
&lt;br&gt;&lt;br&gt;The main difference is that #1+#2 group uses completely different
&lt;br&gt;c-runtime than group #3+#4.
&lt;br&gt;&lt;br&gt;Compiling openssl-1.0.0-beta4 works fine with compilers: #1 and #2
&lt;br&gt;Tested by: &amp;quot;perl ./Configure shared mingw&amp;quot; + &amp;quot;make&amp;quot;)
&lt;br&gt;&lt;br&gt;Compiling openssl-1.0.0-beta4 with #4 works with no-asm option
&lt;br&gt;Tested by: &amp;quot;perl ./Configure shared no-asm mingw64&amp;quot; + &amp;quot;make&amp;quot;
&lt;br&gt;I have used compiler binaries from:
&lt;br&gt;&lt;a href=&quot;http://download.sourceforge.net/mingw-w64/mingw-w64-bin_x86_64-mingw_20091101_sezero.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.sourceforge.net/mingw-w64/mingw-w64-bin_x86_64-mingw_20091101_sezero.zip&lt;/a&gt;&lt;br&gt;&lt;br&gt;Compiling openssl-1.0.0-beta4 with #3 does not work - see enclosed error.
&lt;br&gt;Tested by: &amp;quot;perl ./Configure shared mingw&amp;quot; + &amp;quot;make&amp;quot;
&lt;br&gt;I have used compiler binaries from:
&lt;br&gt;&lt;a href=&quot;http://download.sourceforge.net/mingw-w64/mingw-w32-bin_i686-mingw_20091101_sezero.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.sourceforge.net/mingw-w64/mingw-w32-bin_i686-mingw_20091101_sezero.zip&lt;/a&gt;&lt;br&gt;&lt;br&gt;In theory compiler #3 uses exactly the same c-runtime headers as
&lt;br&gt;compiler #4 so there is no obvious (at least obvious to me) reason why
&lt;br&gt;#4 works and #3 does not.
&lt;br&gt;&lt;br&gt;My investigation led to some #define/#undef X509_NAME clash between
&lt;br&gt;c-runtime headers (wincrypt.h, ...) and openssl but I was not able to
&lt;br&gt;prepare a sane patch to fix it.
&lt;br&gt;&lt;br&gt;I would appreciate any help with this issue.
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;kmx
&lt;br&gt;&lt;br&gt;#####
&lt;br&gt;gcc -I.. -I../.. -I../asn1 -I../evp -I../../include &amp;nbsp;-D_WINDLL
&lt;br&gt;-DOPENSSL_USE_APP
&lt;br&gt;LINK -DOPENSSL_PIC -DOPENSSL_THREADS &amp;nbsp;-DDSO_WIN32 -mno-cygwin -DL_ENDIAN
&lt;br&gt;-DOPENS
&lt;br&gt;SL_NO_CAPIENG -fomit-frame-pointer -O3 -march=i486 -Wall
&lt;br&gt;-DOPENSSL_BN_ASM_PART_W
&lt;br&gt;ORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
&lt;br&gt;-DSHA512_
&lt;br&gt;ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM &amp;nbsp; -c -o err_all.o
&lt;br&gt;err_all.c
&lt;br&gt;&lt;br&gt;In file included from err_all.c:96:
&lt;br&gt;../../include/openssl/ocsp.h:206: error: expected
&lt;br&gt;specifier-qualifier-list befor
&lt;br&gt;e '(' token
&lt;br&gt;../../include/openssl/ocsp.h:350: error: expected
&lt;br&gt;specifier-qualifier-list befor
&lt;br&gt;e '(' token
&lt;br&gt;../../include/openssl/ocsp.h:416: error: expected declaration specifiers
&lt;br&gt;or '...
&lt;br&gt;' before '(' token
&lt;br&gt;../../include/openssl/ocsp.h:427: error: expected declaration specifiers
&lt;br&gt;or '...
&lt;br&gt;' before '(' token
&lt;br&gt;../../include/openssl/ocsp.h:487: error: expected declaration specifiers
&lt;br&gt;or '...
&lt;br&gt;' before '(' token
&lt;br&gt;make[2]: *** [err_all.o] Error 1
&lt;br&gt;make[2]: Leaving directory `/z/_tmp/openssl-1.0.0-beta4/crypto/err'
&lt;br&gt;make[1]: *** [subdirs] Error 1
&lt;br&gt;make[1]: Leaving directory `/z/_tmp/openssl-1.0.0-beta4/crypto'
&lt;br&gt;make: *** [build_crypto] Error 1
&lt;br&gt;#####
&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;font face=&quot;Helvetica, Arial, sans-serif&quot;&gt;Hi,&lt;br&gt;
&lt;br&gt;
I have experienced the enclosed failure during building of
openssl-1.0.0-beta4 by 32-bit native compiler from mingw-w64.sf.net
project.&lt;br&gt;
&lt;br&gt;
At the beginning it might be good to summarize how many mingws we
currently have:&lt;br&gt;
#1) 32-bit gcc-3.x toolchan from mingw.org project&lt;br&gt;
#2) 32-bit gcc-4.x toolchan from mingw.org project&lt;br&gt;
#3) 32-bit gcc-4.x toolchan from mingw-w64.sf.net project&lt;br&gt;
#4) 64-bit gcc-4.x toolchan from mingw-w64.sf.net project&lt;br&gt;
&lt;br&gt;
Yes, it might be slightly confusing but mingw-w64 project delivers not
only 64-bit Windows toolchain but also 32-bit one.&lt;br&gt;
&lt;br&gt;
The main difference is that #1+#2 group uses completely different
c-runtime than group #3+#4.&lt;br&gt;
&lt;br&gt;
Compiling openssl-1.0.0-beta4 works fine with compilers: #1 and #2&lt;br&gt;
Tested by: &quot;perl ./Configure shared mingw&quot; + &quot;make&quot;)&lt;br&gt;
&lt;br&gt;
Compiling openssl-1.0.0-beta4 with #4 works with no-asm option&lt;br&gt;
Tested by: &quot;perl ./Configure shared no-asm mingw64&quot; + &quot;make&quot;&lt;br&gt;
I have used compiler binaries from:&lt;br&gt;
&lt;a moz-do-not-send=&quot;true&quot; class=&quot;moz-txt-link-freetext&quot; href=&quot;http://download.sourceforge.net/mingw-w64/mingw-w64-bin_x86_64-mingw_20091101_sezero.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.sourceforge.net/mingw-w64/mingw-w64-bin_x86_64-mingw_20091101_sezero.zip&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Compiling openssl-1.0.0-beta4 with #3 does not work - see enclosed
error.&lt;br&gt;
Tested by: &quot;perl ./Configure shared mingw&quot; + &quot;make&quot;&lt;br&gt;
I have used compiler binaries from:&lt;br&gt;
&lt;a moz-do-not-send=&quot;true&quot; class=&quot;moz-txt-link-freetext&quot; href=&quot;http://download.sourceforge.net/mingw-w64/mingw-w32-bin_i686-mingw_20091101_sezero.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.sourceforge.net/mingw-w64/mingw-w32-bin_i686-mingw_20091101_sezero.zip&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
In theory compiler #3 uses exactly the same c-runtime headers as
compiler #4 so there is no obvious (at least obvious to me) reason why
#4 works and #3 does not. &lt;br&gt;
&lt;br&gt;
My investigation led to some #define/#undef X509_NAME clash between
c-runtime headers (wincrypt.h, ...) and openssl but I was not able to
prepare a sane patch to fix it.&lt;br&gt;
&lt;br&gt;
I would appreciate any help with this issue.&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
kmx&lt;br&gt;
&lt;br&gt;
#####&lt;br&gt;
gcc -I.. -I../.. -I../asn1 -I../evp -I../../include  -D_WINDLL
-DOPENSSL_USE_APP&lt;br&gt;
LINK -DOPENSSL_PIC -DOPENSSL_THREADS  -DDSO_WIN32 -mno-cygwin
-DL_ENDIAN -DOPENS&lt;br&gt;
SL_NO_CAPIENG -fomit-frame-pointer -O3 -march=i486 -Wall
-DOPENSSL_BN_ASM_PART_W&lt;br&gt;
ORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
-DSHA512_&lt;br&gt;
ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM   -c -o err_all.o
err_all.c&lt;br&gt;
&lt;br&gt;
In file included from err_all.c:96:&lt;br&gt;
../../include/openssl/ocsp.h:206: error: expected
specifier-qualifier-list befor&lt;br&gt;
e '(' token&lt;br&gt;
../../include/openssl/ocsp.h:350: error: expected
specifier-qualifier-list befor&lt;br&gt;
e '(' token&lt;br&gt;
../../include/openssl/ocsp.h:416: error: expected declaration
specifiers or '...&lt;br&gt;
' before '(' token&lt;br&gt;
../../include/openssl/ocsp.h:427: error: expected declaration
specifiers or '...&lt;br&gt;
' before '(' token&lt;br&gt;
../../include/openssl/ocsp.h:487: error: expected declaration
specifiers or '...&lt;br&gt;
' before '(' token&lt;br&gt;
make[2]: *** [err_all.o] Error 1&lt;br&gt;
make[2]: Leaving directory `/z/_tmp/openssl-1.0.0-beta4/crypto/err'&lt;br&gt;
make[1]: *** [subdirs] Error 1&lt;br&gt;
make[1]: Leaving directory `/z/_tmp/openssl-1.0.0-beta4/crypto'&lt;br&gt;
make: *** [build_crypto] Error 1&lt;br&gt;
#####&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---Dev-f980.html&quot; embed=&quot;fixTarget[980]&quot; target=&quot;_top&quot; &gt;OpenSSL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-openssl.org--2113--1.0.0-beta4-build-with-mingw-w64%27s-32-bit-compiler-fails-tp26542828p26542828.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542819</id>
	<title>RE: Adding a custom engine to OpenSSL</title>
	<published>2009-11-27T06:02:10Z</published>
	<updated>2009-11-27T06:02:10Z</updated>
	<author>
		<name>Loke Jun Han</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Yup.&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openSSL@...&lt;/a&gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Subject: Re: Adding a custom engine to OpenSSL&lt;br&gt;&amp;gt; Date: Thu, 26 Nov 2009 05:21:35 -0600&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On Thu November 26 2009, Loke Jun Han wrote:&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Hi,&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt;        Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Like one of the engines in the list from:&lt;br&gt;&amp;gt; openssl engine&lt;br&gt;&amp;gt; ?&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Mike&lt;br&gt;&amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt; &amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Jun Han &lt;br&gt;&amp;gt; &amp;gt;  		 	   		  &lt;br&gt;&amp;gt; &amp;gt; _________________________________________________________________&lt;br&gt;&amp;gt; &amp;gt; Windows 7: Find the right PC for you. Learn more.&lt;br&gt;&amp;gt; &amp;gt; http://windows.microsoft.com/shop&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; ______________________________________________________________________&lt;br&gt;&amp;gt; OpenSSL Project                                 http://ww
 w.openssl.org&lt;br&gt;&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542819&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;/div&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Windows 7: Find the right PC for you. &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26542819.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542799</id>
	<title>[FWD] Question on SSL_shutdown timeout</title>
	<published>2009-11-27T06:01:26Z</published>
	<updated>2009-11-27T06:01:26Z</updated>
	<author>
		<name>Lutz Jaenicke-3</name>
	</author>
	<content type="html">Forwarded to openssl-users for public discussion.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lutz
&lt;br&gt;----- Forwarded message from Xavier De Kepper &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xavier.dekepper@...&lt;/a&gt;&amp;gt; -----
&lt;br&gt;&lt;br&gt;From: Xavier De Kepper &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xavier.dekepper@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rt@...&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rt@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 27 Nov 2009 02:15:17 -0800
&lt;br&gt;Subject: Question on SSL_shutdown timeout
&lt;br&gt;Thread-Topic: Question on SSL_shutdown timeout
&lt;br&gt;Thread-Index: AcpvSoR93gXfC8xGT46vvjF0PlcdBQ==
&lt;br&gt;Accept-Language: fr-FR, en-US
&lt;br&gt;acceptlanguage: fr-FR, en-US
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I have a question concerning SSL_shutdown in case of SSLv3/TLSv1 connection.
&lt;br&gt;In my usecase, I send a request to a HTTPS server but got no response, therefore my application timeouts.
&lt;br&gt;Then the application is closing the connection with two calls to SSL_shutdown.
&lt;br&gt;Unfortunately the server doesn't respond to the &amp;quot;close notify&amp;quot; therefore the SSL_shutdown call timeout.
&lt;br&gt;&lt;br&gt;My question is what is the value of this timeout and how can it be configured ?
&lt;br&gt;I noticed that this timeout doesn't have always the same value.
&lt;br&gt;&lt;br&gt;I did a search on the web but didn't find anything on this topic.
&lt;br&gt;&lt;br&gt;Thank you very much,
&lt;br&gt;Xavier
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- End forwarded message -----
&lt;br&gt;--
&lt;br&gt;Lutz Jaenicke &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jaenicke@...&lt;/a&gt;
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org/~jaenicke/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org/~jaenicke/&lt;/a&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542799&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-FWD--Question-on-SSL_shutdown-timeout-tp26542799p26542799.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540710</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-27T02:46:37Z</published>
	<updated>2009-11-27T02:46:37Z</updated>
	<author>
		<name>Mark-487</name>
	</author>
	<content type="html">Hi All, 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Rene Hollan wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Oh, you need to dig deeper, to understand the semantics and 
&lt;br&gt;&amp;gt; not just 
&lt;br&gt;&amp;gt; &amp;gt; the syntax of those APIs.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I didn't say using the source as documentation was 
&lt;br&gt;&amp;gt; convenient, but it 
&lt;br&gt;&amp;gt; &amp;gt; is possible, to any degree of detail you want.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; To wit: given the source code, it is possible to create 
&lt;br&gt;&amp;gt; documentation 
&lt;br&gt;&amp;gt; &amp;gt; to any degree of convenience. But, given some instance of external 
&lt;br&gt;&amp;gt; &amp;gt; documentation and no source, it is not possible to improve the 
&lt;br&gt;&amp;gt; &amp;gt; convenience factor of that documentation to an arbitrary degree.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Suggesting what people who donate their time DO is rather 
&lt;br&gt;&amp;gt; like herding 
&lt;br&gt;&amp;gt; &amp;gt; cats. Some like coding and others like documenting and some 
&lt;br&gt;&amp;gt; like both. 
&lt;br&gt;&amp;gt; &amp;gt; Perhaps instead of an admonition that the project needs better 
&lt;br&gt;&amp;gt; &amp;gt; documentation, a question regarding who is willing to contribute to 
&lt;br&gt;&amp;gt; &amp;gt; said better documentation is more in order.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; unluckily, those of us who most need the docs are least able to 
&lt;br&gt;&amp;gt; contribute, as I haven't the foggiest notion how to properly 
&lt;br&gt;&amp;gt; use any of 
&lt;br&gt;&amp;gt; the APIs at present. &amp;nbsp; I suppose I need to get the ORA book and start 
&lt;br&gt;&amp;gt; reading, as eventually I&amp;quot;m going to be helping another 
&lt;br&gt;&amp;gt; development team 
&lt;br&gt;&amp;gt; at work with getting an SSL connection going that needs to 
&lt;br&gt;&amp;gt; use a client 
&lt;br&gt;&amp;gt; certificate stored on a PKCS#11 PKI token, so I'll be sorting 
&lt;br&gt;&amp;gt; out how to 
&lt;br&gt;&amp;gt; use libssl w/ opensc's engine-pkcs11 module, who's 
&lt;br&gt;&amp;gt; documentation is just 
&lt;br&gt;&amp;gt; about as non-existant as that of openssl. &amp;nbsp;this task was very easy in 
&lt;br&gt;&amp;gt; Java, as Java's SecureSocket hides all the complexity, up to and 
&lt;br&gt;&amp;gt; including full support for PKCS#11 plugins.
&lt;/div&gt;&lt;br&gt;The O'Reilly book is essential reading IMHO but it is far from a
&lt;br&gt;complete
&lt;br&gt;guide to OpenSSL. &amp;nbsp;There are many APIs that it does not mention at all.
&lt;br&gt;It is also quite old now (2002).
&lt;br&gt;&lt;br&gt;I realize that in Open source projects it is hard to find the time to
&lt;br&gt;document
&lt;br&gt;the software but I believe that documentation is an essential part of
&lt;br&gt;any
&lt;br&gt;project, especially something as complex as OpenSSL.
&lt;br&gt;&lt;br&gt;Even if a wiki turnout out to be a better FAQ then it would still be
&lt;br&gt;very useful IMHO.
&lt;br&gt;&lt;br&gt;Is it possible to gain sponsorship for this project or charge for the
&lt;br&gt;documentation,
&lt;br&gt;or make a commercial variant of OpenSSL which can support the open
&lt;br&gt;source
&lt;br&gt;version?
&lt;br&gt;&lt;br&gt;Mark.
&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540710&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26540710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540445</id>
	<title>Re: openssl and hardware tokens</title>
	<published>2009-11-27T02:17:29Z</published>
	<updated>2009-11-27T02:17:29Z</updated>
	<author>
		<name>Nicolas Pelloux-Prayer</name>
	</author>
	<content type="html">I&amp;#39;m currently working on a similar task during the development of a TLS client (with client-side authentication), using a PKCS#11 hardware token.&lt;br&gt;&lt;br&gt;The main problem we encountered is that we cannot access the private key stored in the token; Therefore we made an engine which implements RSA signature methods, and used a fake private key file to make OpenSSL think the user cert &amp;amp; private key are present (state SSL3_ST_CW_CERT_B in d1_clnt.c) to be able to run to the CertificateVerify message signature state,  which is performed by our engine using our user private key inside the token.&lt;br&gt;
&lt;br&gt;Actually it works, but this approach doesn&amp;#39;t feel right as we basically fool the api... I wondered if someone had a better idea of how to do this properly, like a way to make OpenSSL know the engine will handle the private key itself and will not extract it, it would be very helpfull.&lt;br&gt;

&lt;br&gt;Best regards,&lt;br&gt;Nicolas&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/16 Victor B. Wagner &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vitus@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div&gt;On 2009.11.13 at 04:44:02 -0800, Mansour Dagher wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; if certificates and associated keys are stored on HW (Sun crypto card for example), is there a way in openssl to specify the card as the location of these certificates/kets?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; It appears from the methods below, the openSSL only takes filesystem directory paths and file names as input for certificate/key locations:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; X509_STORE_load_locations()&lt;br&gt;
&amp;gt; SSL_CTX_use_certificate_chain_file()&lt;br&gt;
&amp;gt; SSL_CTX_use_PrivateKey_file()&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Any suggestions/thought?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;There is SSL_CTX_use_PrivateKey which allows you to use private key&lt;br&gt;
already loaded into memory as EVP_PKEY structure.&lt;br&gt;
&lt;br&gt;
There is ENGINE_load_private_key function, which allows to create&lt;br&gt;
EVP_PKEY structure engine-specific way. Engine is a module, which&lt;br&gt;
handles interaction with some crypto hardware. Really this EVP_PKEY can&lt;br&gt;
contain just reference for key stored in the hardware.&lt;br&gt;
&lt;br&gt;
If engine-initialization code sets up an RSA/DSA/other PKEY method which&lt;br&gt;
knows how to hand of crypto operation to the hardware, you can use&lt;br&gt;
key stored on the token (and never actually leaves it) for all&lt;br&gt;
operations - either PKCS7/CMS/SMIME or SSL/TLS.&lt;br&gt;
&lt;br&gt;
If you store trusted CA certificates on the token as well, engine module&lt;br&gt;
can also provide X509_STORE method, which can be used for certificate&lt;br&gt;
verification. I don&amp;#39;t remember in which version of OpenSSL support for&lt;br&gt;
engine-provided X509_STORE method is appeared.&lt;br&gt;
&lt;br&gt;
Things are somewhat worse for certificates for the your private key.&lt;br&gt;
&lt;br&gt;
There was no ENGINE api to load certificates from token in the 0.9.8&lt;br&gt;
version.&lt;br&gt;
&lt;br&gt;
In the 1.0.0 function ENGINE_load_ssl_client_cert appeared, which allows&lt;br&gt;
you to load certificate/private key pair given list of CA names&lt;br&gt;
acceptable by server. This function seems to be designed for use from&lt;br&gt;
SSL client certificate callback.&lt;br&gt;
&lt;br&gt;
But there still no API for loading SSL server certificate/key pair and&lt;br&gt;
for loading SMIME certificate/key pair, not to mention loading&lt;br&gt;
certificate with arbitrary extendedKeyUsage.&lt;br&gt;
&lt;br&gt;
But main problem is that when one want to use hardware token with&lt;br&gt;
OpenSSL, it typically means tha one want to use token with existing&lt;br&gt;
openssl applications, such as Apache, Lynx, OpenVPN etc.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
OpenVPN has some support for PKCS#11 modules, but I&amp;#39;ve never tried it.&lt;br&gt;
&lt;br&gt;
Other applications cannot make use of OpenSSL engine API without&lt;br&gt;
modifications.&lt;br&gt;
&lt;br&gt;
I&amp;#39;m not sure that they can work with X509_STORE method provided by&lt;br&gt;
engine, even this method is set as default. Some client applications&lt;br&gt;
such as lynx and wget are happy with X509_STORE_set_default_locations,&lt;br&gt;
but most server applications want greater control on trusted CA store.&lt;br&gt;
&lt;br&gt;
Few years ago I&amp;#39;ve submitted patch for PostgreSQL which allows to use&lt;br&gt;
keys loaded via ENGINE_load_private_keys to connect to PostgreSQL&lt;br&gt;
database and this patch got into PostgreSQL 8.3 version.&lt;br&gt;
But that time there was no API to load certificates. Now, when we have&lt;br&gt;
ENGINE_load_ssl_client_cert and PostgreSQL 8.4 have certificate&lt;br&gt;
authentication support may be it is time for new patch.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; Thank you in advance.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ______________________________________________________________________&lt;br&gt;
&amp;gt; OpenSSL Project                                 &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
______________________________________________________________________&lt;br&gt;
OpenSSL Project                                 &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540445&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openssl-and-hardware-tokens-tp26336133p26540445.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539862</id>
	<title>[openssl.org #2112] Build incorrect crypt/decrypt in Win32. x86. MSVC 2003. MinGW.</title>
	<published>2009-11-27T01:31:49Z</published>
	<updated>2009-11-27T01:31:49Z</updated>
	<author>
		<name>Misha Aizatulin via RT</name>
	</author>
	<content type="html">&amp;nbsp; Hello openssl Hackers.
&lt;br&gt;&amp;nbsp;I try to explain thread started message and I hope to find any comments/ideas to solve related problems.
&lt;br&gt;There is more general problem than indicated earlier. You can find more unfounded results in more tests and different platforms. Executing crypt/decrypt cycle on FreeBSD and CentOS is not equivalent, although test completed successfully (accidentals?):
&lt;br&gt;&lt;br&gt;Successful test; CentOS; openssl-0.9.8k; passw: `123'
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 &amp;nbsp;	plaintext
&lt;br&gt;5c9231cbd339d228582ccf486b44aea1 &amp;nbsp;	encrypt
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 &amp;nbsp;	plaintext.out
&lt;br&gt;&lt;br&gt;Successful test; FreeBSD; openssl-0.9.8k; passw: `123'
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext
&lt;br&gt;ad68a43241b2e660c9c2e6f9167995d4 	encrypt
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 &amp;nbsp;	plaintext.out
&lt;br&gt;What are you thinking about decryption message in FreeBSD encrypted in CentOS?
&lt;br&gt;&lt;br&gt;And more `sexual' behavior under Win32/MinGW system; openssl-0.9.8k; passw: `123'. 
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext
&lt;br&gt;c1720d3a0e5e0948422248d015d1f956 	encrypt
&lt;br&gt;dc2f8e8d1c40af27ffe6c5ea6c23b304 	plaintext.out
&lt;br&gt;No comments.
&lt;br&gt;&lt;br&gt;Uninterested completion of tests using password &amp;nbsp;`0123456789ABCDEF':
&lt;br&gt;&lt;br&gt;Win32/MinGW:
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext
&lt;br&gt;b37945f24828d8e95e182a91f33b60ba 	encrypt
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext.out
&lt;br&gt;FreeBSD:
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext
&lt;br&gt;b37945f24828d8e95e182a91f33b60ba	encrypt
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext.out
&lt;br&gt;CentOS:
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext
&lt;br&gt;b37945f24828d8e95e182a91f33b60ba	encrypt
&lt;br&gt;7f5d48574e5612219abef351bb14bda3 	plaintext.out
&lt;br&gt;All right. Now we have cross-platform code execution :-).
&lt;br&gt;&lt;br&gt;As you understand now, troubles in key generation. It's time to dip into sources.
&lt;br&gt;Cipher context initialization (and simultaneous key definition) perform in call of EVP_EncryptInit() (in consideration code of crypto_test.cpp). Key-material and initialization vector defines in 
&lt;br&gt;bf_skey.c, FIPS_NON_FIPS_VCIPHER_Init(BF) (unwrapped: BF_set_key() ):
&lt;br&gt;&lt;br&gt;FIPS_NON_FIPS_VCIPHER_Init(BF)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int i;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BF_LONG *p,ri,in[2];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const unsigned char *d,*end;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; memcpy(key,&amp;bf_init,sizeof(BF_KEY));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p=key-&amp;gt;P;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (len &amp;gt; ((BF_ROUNDS+2)*4)) len=(BF_ROUNDS+2)*4;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; d=data;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end= &amp;(data[len]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (i=0; i&amp;lt;(BF_ROUNDS+2); i++)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri= *(d++);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (d &amp;gt;= end) d=data;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri&amp;lt;&amp;lt;=8;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri|= *(d++);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (d &amp;gt;= end) d=data;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri&amp;lt;&amp;lt;=8;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri|= *(d++);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (d &amp;gt;= end) d=data;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri&amp;lt;&amp;lt;=8;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri|= *(d++);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (d &amp;gt;= end) d=data;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p[i]^=ri;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in[0]=0L;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in[1]=0L;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (i=0; i&amp;lt;(BF_ROUNDS+2); i+=2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BF_encrypt(in,key);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p[i &amp;nbsp;]=in[0];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p[i+1]=in[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p=key-&amp;gt;S;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (i=0; i&amp;lt;4*256; i+=2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BF_encrypt(in,key);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p[i &amp;nbsp;]=in[0];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p[i+1]=in[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;We see initial initialization of `key' with predefined `bf_init' values and next computing over `data' (range: {0 - len}, len - cipher key length). Cipher key length set to 16 bytes (initialization vector length 8 bytes). `Human' key (asciiz-string password) is barely 3 byte length. Computing key material over next 12 bytes is wrong, because it contain undefined data (it was not zero-filled under win32).
&lt;br&gt;Zeroing memory is simplest way but it bring down cryptographic strength of password. I seems we need in unique data block (block length must be equal to cipher key length) &amp;nbsp;that can be computed over password-string. We should use so message digest algorithm, output data length of that is equal to cipher key length. IV can be set in default behavior, for example, with digest data or part of them.
&lt;br&gt;&lt;br&gt;I seems it is good idea to insert code of correct initialization key-material and iv-data into {ALG}_set_key functions, or describe this situation (and EVP_ - api) in user's FAQ minimum (man-pages?).
&lt;br&gt;&lt;br&gt;Also, default initialization of iv should not be null-padding &amp;nbsp;and we can compute it over password string (require message digest algorithm, output string length of that is equal to cipher iv-length). 
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;Nick.
&lt;br&gt;&lt;br&gt;P.S.: Sorry for my ugly english. It will fine.
&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;Development Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-dev@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539862&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---Dev-f980.html&quot; embed=&quot;fixTarget[980]&quot; target=&quot;_top&quot; &gt;OpenSSL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-openssl.org--2112--Build-incorrect-crypt-decrypt-in-Win32.-x86.-MSVC-2003.-MinGW.-tp26539862p26539862.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538037</id>
	<title>Re: Add new crypto algorithm into Openssl</title>
	<published>2009-11-26T21:15:13Z</published>
	<updated>2009-11-26T21:15:13Z</updated>
	<author>
		<name>Ger Hobbelt-2</name>
	</author>
	<content type="html">step 0
&lt;br&gt;&lt;br&gt;Well, first off a warning (and please read this despite the
&lt;br&gt;admonishing tone it might have; crypto work is playing with live guns
&lt;br&gt;and if a little up-front warning can prevent you from pointing it at
&lt;br&gt;your foot witthout notiing while you ask &amp;quot;is this the trigger, sir?&amp;quot; I
&lt;br&gt;opt for the sermon so survival rate will maybe be a bit higher this
&lt;br&gt;year ;-) ): writing crypto code, especially implementing cryptographic
&lt;br&gt;algorithms themselves, is not for the faint of heart and is definitely
&lt;br&gt;/not/ a good exercise to get to learn a programming language or
&lt;br&gt;development environment - it may sound wicked cool or whatever, but
&lt;br&gt;know that the experience is tough and exacting at several levels and
&lt;br&gt;only truly appealing to anal retentives, so trying this on for size
&lt;br&gt;too early will only cause utter devastation and deception to you.
&lt;br&gt;Crypto is 0% nice and 100% evil and 'Unforgiving' is it's middle name.
&lt;br&gt;&lt;br&gt;This warning has to be given, because experience shows that's what
&lt;br&gt;happens from dabbling with these goods too early; though the
&lt;br&gt;government reasons were/are different, it still should be treated as
&lt;br&gt;live ammunitions (guns and stuff), locked and loaded to go and quite
&lt;br&gt;like the antique ones: no safety switch /anywhere/.
&lt;br&gt;&lt;br&gt;&lt;br&gt;So I'll assume you are fluent in 'C', don't mind a bit of perl on the
&lt;br&gt;side, breathe Makefiles like they're oxygen and are familiar with the
&lt;br&gt;UNIX development platform at console level - forget about the shiny
&lt;br&gt;IDEs for now. That means you can juggle with 'grep', 'sed', 'awk',
&lt;br&gt;'find' and other commandline friends and might be able to teach me a
&lt;br&gt;lesson or two about those.
&lt;br&gt;When you are working on a Windows platform (like I usually am), you
&lt;br&gt;have several years experience of porting UNIX / Windows apps back and
&lt;br&gt;forth and you know a linker from a librarian and don't break out a
&lt;br&gt;sweat when the debugger acts hairy today. You also already have
&lt;br&gt;acquired your own commandline awk/sed/perl/find/etc. equivalents or
&lt;br&gt;are completely confident that you can do the same with the native
&lt;br&gt;Windows commandline tools.
&lt;br&gt;&lt;br&gt;If you are not perfectly comfortable with that list, or have not used
&lt;br&gt;some or all of the tools mentioned above yet, make yourself familiar
&lt;br&gt;with those. (Knowing either sed or awk is fine; all the others are
&lt;br&gt;each mandatory and non-interchangeable.) Take several months, because
&lt;br&gt;you don't want to fight this battle at both a tool, a code and a
&lt;br&gt;protocol level all at once.
&lt;br&gt;&lt;br&gt;Therefore, the next few steps are described in somewhat terse language
&lt;br&gt;at times - they assume you know all this and are saying to me right
&lt;br&gt;now &amp;quot;no worries! now please get on with it!&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;step 1
&lt;br&gt;&lt;br&gt;You have a full source distribution of OpenSSL. You have compiled and
&lt;br&gt;run the library itself and the test tools that come with it and you
&lt;br&gt;have made bloody darn sure those tools are actually the ones compiled
&lt;br&gt;by you yourself and are running the openssl library version you just
&lt;br&gt;compiled. They should /not/ by any coincidence whatsoever happen to
&lt;br&gt;work because you inadvertedly started their prebuilt and installed
&lt;br&gt;copies that come with almost all Linux/BSD distros these days.
&lt;br&gt;&lt;br&gt;You know what to do when you are not sure whether you adhere to the
&lt;br&gt;above and you already know several ways to indeed verify this.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;step 2
&lt;br&gt;&lt;br&gt;[There's a discussion going on here about documentation and use cases
&lt;br&gt;just appeared there, but we'll ignore that for now and use that corny
&lt;br&gt;line of developers of all ages: &amp;quot;Use the Source, Luke!&amp;quot;]
&lt;br&gt;&lt;br&gt;You make sure you are familiar with the openssl, s_server and s_client
&lt;br&gt;tools and anything else in the kit that is needed to set up a sample
&lt;br&gt;environment where you can perform the cryptographic actions you wish
&lt;br&gt;to perform with your new algorithm. Of course you ensure these
&lt;br&gt;operations work as expected when you pick a few different options and
&lt;br&gt;algorithms.
&lt;br&gt;&lt;br&gt;What I call checking out the neighbourhood.
&lt;br&gt;&lt;br&gt;Here I would go a bit further even; there's several tutorials on the
&lt;br&gt;net how to generate a client and server certificate and how to apply
&lt;br&gt;it to s_server and s_client so you can play with both for a while,
&lt;br&gt;even when your final solution does not require certificates or SSL.
&lt;br&gt;Getting to know these tools helps you in testing your own work later
&lt;br&gt;on as you attained flexibility in testing approach; a good
&lt;br&gt;implementation should be able to handle these operations you are now
&lt;br&gt;playing with.
&lt;br&gt;&lt;br&gt;&lt;br&gt;step 3
&lt;br&gt;&lt;br&gt;Time to dive into the code proper. First things first: the SSL
&lt;br&gt;protocol is in the ssl/ directory[*]; no need to touch that, because
&lt;br&gt;new crypto algorithms either go directly into libcrypto or are created
&lt;br&gt;as a new 'engine' -- the latter is highly preferred, but both are
&lt;br&gt;possible. The former is harder (= more costly) once your code enters
&lt;br&gt;the maintenance cycle as you'll have to remerge and review every point
&lt;br&gt;release to ensure you're up to par. Better take the road, which is a
&lt;br&gt;bit harder for starters, but has a far better potential play at later
&lt;br&gt;dev stages: a crypto engine plugin.
&lt;br&gt;Yes, that's right, just like the GOST one.
&lt;br&gt;&lt;br&gt;Before you go there, realize this: all crypto actions, hashing,
&lt;br&gt;ciphering, etc., should travel through the EVP calls/layer. Rule of
&lt;br&gt;thumb.
&lt;br&gt;Not always true everywhere, but stick to this as a rule of thumb for
&lt;br&gt;99.99% of cases and you didn't ask the question you asked when you're
&lt;br&gt;in that .01% zone anyway, trust me. ;-)
&lt;br&gt;&lt;br&gt;Try to see the flow for a basic 'enc'/'dec' encryption and decryption;
&lt;br&gt;you need this, because your code will be part of this flow. Do
&lt;br&gt;yourself a favour:
&lt;br&gt;&lt;br&gt;- prep out your favorite debugger
&lt;br&gt;- test a commandline for 'enc' and 'dec' (which is 'enc -d') using
&lt;br&gt;AES128, some content and a key you randomly picked, and make sure it
&lt;br&gt;works.
&lt;br&gt;- do the same, now for GOST.
&lt;br&gt;- having those commandlines and testfiles at the ready, kickstart the
&lt;br&gt;debugger and rerun the buggers again while you trace the callstack and
&lt;br&gt;step through the functions.
&lt;br&gt;&lt;br&gt;What you should see happen is 'enc' digging up some info about the
&lt;br&gt;AES128 cipher (EVP_get_cipherbyname()) -- which is lateron going to be
&lt;br&gt;able to deliver info about your own cipher when you did get everything
&lt;br&gt;right in the end! -- then travel further, into several EVP_xyz calls,
&lt;br&gt;which you now know are the wrapping layer around /all/ crypto
&lt;br&gt;activity, so we enter those, and for AES you'll end up at one in the
&lt;br&gt;code that can be found in the directory
&lt;br&gt;&amp;nbsp;crypto/aes/*.[cs]
&lt;br&gt;and don't worry about all the lines, the call stack is a /big/ hint
&lt;br&gt;about what's going down, just by looking at the names, while you
&lt;br&gt;familiarize yourself with the EVP structures.
&lt;br&gt;&lt;br&gt;Do this for AES first - notice that the whole engine party will be
&lt;br&gt;skipped completely, because AES is a core library crypto cipher - to
&lt;br&gt;see how it goes down 'old skool'. Know that 'engines' extend on this.
&lt;br&gt;&lt;br&gt;When you run into the surprise of landing in assembly language or
&lt;br&gt;parts that are not accessible to sourceview in your debuger or some
&lt;br&gt;such, reconfigure your OpenSSL copy with the 'no-asm' config flag and
&lt;br&gt;rebuild the whole shebang. What this does is rip out all the highly
&lt;br&gt;optimized assembly code (the *.s files) and build a C-only library.
&lt;br&gt;It's slower but it's C, front to back all the way now. Try the
&lt;br&gt;debugger again and see whether you can go everywhere. Watch the
&lt;br&gt;callstack as it will tell you what is happening and after a while
&lt;br&gt;you'll get a sense of when to skip or enter calls. This is mandatory,
&lt;br&gt;because you will be debugging your own produce too -- I have yet to
&lt;br&gt;meet someone who could write non-trivial code blocks and not have a
&lt;br&gt;bug lurking in there at the end.
&lt;br&gt;&lt;br&gt;Now you have a feel for how core ciphers travel the code: DES, AES,
&lt;br&gt;RC5, they're all the same that way. Different directories in ./crypto/
&lt;br&gt;but look at those interfaces: they're all the same for all the secret
&lt;br&gt;key ciphers.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[*]Footnote: when you wish to use your own cipher over communication
&lt;br&gt;lines using SSL/TLS/DTLS, you will find that you'll need to edit a few
&lt;br&gt;bits in some definition arrays in the ssl/ directory, but that's
&lt;br&gt;specialist stuff for step6 or maybe it should be a step7. File this
&lt;br&gt;bit away for later and retrieve when you need it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;step 4
&lt;br&gt;&lt;br&gt;Side note: if you wish to implement a new hash, the story is similar,
&lt;br&gt;but hashes are different animals, so they travel a slightly different
&lt;br&gt;path. You both mentioned 'cipher' so I'll leave it at that - once
&lt;br&gt;you've looked at a few, the pattern will emerge, surely.
&lt;br&gt;&lt;br&gt;So this time we're going to see how GOST is employed through the
&lt;br&gt;ENGINE interface -- which sits in both
&lt;br&gt;&amp;nbsp; ./crypto/engine/*.[ch]
&lt;br&gt;and
&lt;br&gt;&amp;nbsp; ./engines/*
&lt;br&gt;where the first constitutes the generic interface on the libcrypto
&lt;br&gt;side, while the latter, ./engines/ , carries the different hard- and
&lt;br&gt;software based engines. Several in there are smaller in implementation
&lt;br&gt;that GOST, but when you have a look you'll find that critical parts
&lt;br&gt;are 'missing': those are hardware-based crypto devices which expect
&lt;br&gt;the presence of a hardware/device lib on the backend side of things,
&lt;br&gt;so unless you have such 'dongles', they're useless. Hence we stick to
&lt;br&gt;GOST, as that's a 100% software based engine.
&lt;br&gt;&lt;br&gt;You know what to do: enc/dec and maybe a few other things to wish to
&lt;br&gt;try, now with GOST instead of AES128 as the selected cipher and each
&lt;br&gt;of those commandlines executed in the debugger while having a look at
&lt;br&gt;the callstack, etc.
&lt;br&gt;&lt;br&gt;&lt;br&gt;By now you've a mental image of where OpenSSL will go when you execute
&lt;br&gt;the cipher code, so you have a good initial idea where to poke when
&lt;br&gt;you're going to test your own brand new engine.
&lt;br&gt;&lt;br&gt;&lt;br&gt;step 5
&lt;br&gt;&lt;br&gt;there's several ways to create a new engine, starting from scratch or
&lt;br&gt;borrowing, and though I personally prefer doing such things from
&lt;br&gt;scratch, it is easier to borrow GOST for this, because we can do this
&lt;br&gt;thing in smaller steps. The first is
&lt;br&gt;&amp;nbsp; faking it.
&lt;br&gt;&lt;br&gt;That is: we're going to act like our stuff is already done, tested and
&lt;br&gt;all, and exactly the same quality of work as GOST. Which means we're
&lt;br&gt;going to copy /all/ engines/ccgost files into a new directory, say
&lt;br&gt;&amp;nbsp; cp -R engines/ccgost/ engines/mycipher2009/
&lt;br&gt;after we checked where GOST references might be hiding, which is
&lt;br&gt;easily found by running
&lt;br&gt;&amp;nbsp; &amp;nbsp;grep -i gost `find . -type f -print` -l
&lt;br&gt;in the openSSL base directory. It should list a couple of
&lt;br&gt;makefiles,everything in the engines/ccgost/ and a few other files as
&lt;br&gt;well. Note those locations, because that's the places where we'll go
&lt;br&gt;to do the 'fake'.
&lt;br&gt;&lt;br&gt;Having copied GOST, we now declare this cipher to be our own
&lt;br&gt;magnificent work called 'mycipher2009' so I'll refer to the
&lt;br&gt;requirements mentioned above and that should combine nicely with the
&lt;br&gt;hint of a little
&lt;br&gt;sed -e 's/GOST/MYCIPHER2009/g'
&lt;br&gt;sed -e 's/gost/mycipher2009/g'
&lt;br&gt;editing of everything in your new mycipher2009 directory.
&lt;br&gt;Plus opening each other file mentioned by that
&lt;br&gt;&amp;nbsp; &amp;nbsp;grep -i gost `find . -type f -print` -l
&lt;br&gt;to see whether we need to vi yy,p the GOST lines in there and edit
&lt;br&gt;gost into mycipher2009 in the copies.
&lt;br&gt;Some files may not need to be changed as they are not relevant to the
&lt;br&gt;build process, but you bet editing the Makefiles is mandatory: add you
&lt;br&gt;new one to the ENGDIRS, for instance, and otherwise inspect each of
&lt;br&gt;those files listed by grep to see and decide whether you should add
&lt;br&gt;you mycipher2009 stuff there.
&lt;br&gt;&lt;br&gt;Now that you have made a mirror-copy of GOST under a new name, it's
&lt;br&gt;time to recompile/rebuild and see where you forgot something; expect
&lt;br&gt;the process to go belly up and dig around a bit to fix that. It isn't
&lt;br&gt;hard, it's just work.
&lt;br&gt;Once you have new builds of all the tools all that previous
&lt;br&gt;seemingly-nonsense walking about I had you pays off, because the only
&lt;br&gt;thing to worry about now is whether or not your mycipher2009 engine
&lt;br&gt;gets integrated correctly or not: you know the tools, so you know how
&lt;br&gt;to list the 'known ciphers' using the openssl tool, you know how to
&lt;br&gt;use GOST, so you can now pick your mycipher2009 instead and try with
&lt;br&gt;that and given the fact that you just ripped off a copy of GOST the
&lt;br&gt;encrypted data should even match up with the GOST runs: both
&lt;br&gt;mycipher2009 and GOST are identical twins now, after all.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Which has you set up for a fresh new engine of your own.
&lt;br&gt;&lt;br&gt;The hard part is 'step 6' which will depend on what you want to do:
&lt;br&gt;here the work on your own cipher starts, as those debugger-assisted
&lt;br&gt;walks have given you a clear idea where goes what inside the GOST
&lt;br&gt;engine and with a bit of source-inspection you can start ripping out
&lt;br&gt;parts and replace them by your own. Easy as pie. ;-) &amp;lt;yes, that was an
&lt;br&gt;evil grin, right there&amp;gt;
&lt;br&gt;&lt;br&gt;Before you go, do yourself a favor and make a backup - so in case of
&lt;br&gt;panic you don't have to return to step1 but can backpedal to
&lt;br&gt;mycipher2009 and GOST being identical twins, which spares a bit of
&lt;br&gt;work when the faeces hit the propellors.
&lt;br&gt;&lt;br&gt;So far the story of building engines. You've got a lot of ground to
&lt;br&gt;cover getting to step6, so I'll assume for now that this is enough to
&lt;br&gt;get you occupied for a while and that last bit of integrating your own
&lt;br&gt;cipher, well, by hen you've seen enough code flows to have a pretty
&lt;br&gt;good idea where you're going.
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;br&gt;Ger
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;PS: forgot to mention this: pick a OpenSSL tree distribution you feel
&lt;br&gt;safe about; I myself like to ride bleeding edge from CVS HEAD, but
&lt;br&gt;that may get you a few surprises at times where you don't want any, so
&lt;br&gt;my advice would be to take the latest bundled tar.gz release and go
&lt;br&gt;from there.
&lt;br&gt;&lt;br&gt;[When you go with latest as of the date of this writing, be aware
&lt;br&gt;there's an issue lurking in the SSL renegotiation code that is under
&lt;br&gt;scrutiny right now, so check up on that again once it becomes
&lt;br&gt;important to you: you might need to download the next distrib package
&lt;br&gt;then for this particular communication feature fix-of-a-fix, which is
&lt;br&gt;a nice exercise in merging your code with an updated OpenSSL source
&lt;br&gt;tree -- there's code merge tools for that; I use a semi-manual process
&lt;br&gt;through a windows app called 'Beyond Compare' but that's because I'm
&lt;br&gt;very comfortable with that one and I like to be in total control over
&lt;br&gt;which lines enter my repositories where and when. Pick your own
&lt;br&gt;favorite here. &amp;nbsp;This little blurb is only important when you employ
&lt;br&gt;OpenSSL for its secure /comminucation/ abilities, i.e. when you use it
&lt;br&gt;to provide SSL/TLS/DTLS or anything that's riding on top of that.]
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 12:05 PM, Mystic Boy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sbprabhakar@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Gloria Lee wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; I wanna ask something...
&lt;br&gt;&amp;gt;&amp;gt; Im trying to add crypto algorithm into Openssl,
&lt;br&gt;&amp;gt;&amp;gt; I heard about the engine(ccgost), and read the README.txt file, but I
&lt;br&gt;&amp;gt;&amp;gt; don't understand
&lt;br&gt;&amp;gt;&amp;gt; how to do it..
&lt;br&gt;&amp;gt;&amp;gt; I wonder If I add my own algorithm, Do I just copy ccgost pattern? or have
&lt;br&gt;&amp;gt;&amp;gt; to change
&lt;br&gt;&amp;gt;&amp;gt; entire openssl core source??..
&lt;br&gt;&amp;gt;&amp;gt; Besides that, I want to know how to use ccgost engine, It's very hard for
&lt;br&gt;&amp;gt;&amp;gt; me.
&lt;br&gt;&amp;gt;&amp;gt; Thanks,... :)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I am also trying to add new crypto algo. to the crypto library. But didn't
&lt;br&gt;&amp;gt; succeed. I explored OpenSSL/crypto library, it's different algo. has
&lt;br&gt;&amp;gt; dependencies on different files.
&lt;br&gt;&amp;gt; I am looking forward for help
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks:
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Add-new-crypto-algorithm-into-Openssl-tp26488823p26510888.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Add-new-crypto-algorithm-into-Openssl-tp26488823p26510888.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the OpenSSL - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project                                 &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List                    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager                           &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Met vriendelijke groeten / Best regards,
&lt;br&gt;&lt;br&gt;Ger Hobbelt
&lt;br&gt;&lt;br&gt;--------------------------------------------------
&lt;br&gt;web: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.hobbelt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hobbelt.com/&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.hebbut.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hebbut.net/&lt;/a&gt;&lt;br&gt;mail: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ger@...&lt;/a&gt;
&lt;br&gt;mobile: +31-6-11 120 978
&lt;br&gt;--------------------------------------------------
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538037&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Add-new-crypto-algorithm-into-Openssl-tp26488823p26538037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536646</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:42:56Z</published>
	<updated>2009-11-26T16:42:56Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;br&gt;This is an example of a relatively common use-case that I was alluding to in a previous email...it would be nice to not have to figure this out either by guessing, reverse-engineering something, or other sub-optimal form of development strategy....
&lt;br&gt;&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 26, 2009, at 4:03 PM, John R Pierce wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Rene Hollan wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Oh, you need to dig deeper, to understand the semantics and not just the syntax of those APIs.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I didn't say using the source as documentation was convenient, but it is possible, to any degree of detail you want.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; To wit: given the source code, it is possible to create documentation to any degree of convenience. But, given some instance of external documentation and no source, it is not possible to improve the convenience factor of that documentation to an arbitrary degree.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Suggesting what people who donate their time DO is rather like herding cats. Some like coding and others like documenting and some like both. Perhaps instead of an admonition that the project needs better documentation, a question regarding who is willing to contribute to said better documentation is more in order.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; unluckily, those of us who most need the docs are least able to contribute, as I haven't the foggiest notion how to properly use any of the APIs at present. &amp;nbsp; I suppose I need to get the ORA book and start reading, as eventually I&amp;quot;m going to be helping another development team at work with getting an SSL connection going that needs to use a client certificate stored on a PKCS#11 PKI token, so I'll be sorting out how to use libssl w/ opensc's engine-pkcs11 module, who's documentation is just about as non-existant as that of openssl. &amp;nbsp;this task was very easy in Java, as Java's SecureSocket hides all the complexity, up to and including full support for PKCS#11 plugins.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536646&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536646.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536636</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:40:41Z</published>
	<updated>2009-11-26T16:40:41Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;br&gt;Yes, I noted that usage of the APIs in combination with common use-cases is more appropriate, but this doesn't obviate the need for per-API documentation, as has occurred so far on the openssl website.
&lt;br&gt;&lt;br&gt;And I agree with the previous point that we should be trying to collectively figure out how to update the documentation in sync with the available features and functionality of the 1.0 release.
&lt;br&gt;&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 26, 2009, at 3:35 PM, John R Pierce wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire other forms.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; the implementation details of the 250-odd API entry points in libssl.so would tell me very little about how to properly USE those APIs, and in fact, designing an application around my interpretation of the library developers intent would likely lead me down some rabbit holes I'd rather not explore.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is my idea of how open source documentation should be organized and written.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.postgresql.org/docs/current/static/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.postgresql.org/docs/current/static/index.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536636&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536636.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536479</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:16:33Z</published>
	<updated>2009-11-26T16:16:33Z</updated>
	<author>
		<name>Tim Ward-3</name>
	</author>
	<content type="html">From: &amp;quot;John R Pierce&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536479&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pierce@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this task was very easy in Java, as Java's SecureSocket hides all the 
&lt;br&gt;&amp;gt; complexity, up to and including full support for PKCS#11 plugins.
&lt;br&gt;&lt;br&gt;Weren't you lucky.
&lt;br&gt;&lt;br&gt;I gave up trying to do that sort of thing in Java when I ran across its 
&lt;br&gt;habit of doing reverse DNS lookups on every IP address it came across, just 
&lt;br&gt;in case it needed the FQDN for anything (I think it was stuck in the mindset 
&lt;br&gt;of &amp;quot;people only use SSL to talk to web servers, don't they, and the only way 
&lt;br&gt;of validating a web server is a certificate containing an FDQN, isn't it, so 
&lt;br&gt;whenever I see an IP address I'd better get the FQDN, hadn't I, because I'm 
&lt;br&gt;bound to need it soon, aren't I&amp;quot;).
&lt;br&gt;&lt;br&gt;Well, no, actually. Guess what: sometimes people use SSL for purposes other 
&lt;br&gt;than talking to web severs, and in the cases of embedded devices with no DNS 
&lt;br&gt;records talking to each other by explicitly configured IP address the DNS 
&lt;br&gt;lookup took minutes to time out before Java would deign to get on with doing 
&lt;br&gt;what it was told. With no way of switching this nonsense off. Hence I used a 
&lt;br&gt;C++ DLL to do the crypto stuff.
&lt;br&gt;&lt;br&gt;Tim Ward - Brett Ward Limited - 07801 703 600
&lt;br&gt;www.brettward.co.uk 
&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536479&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536479&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536458</id>
	<title>Secure command line &quot;enc -K&quot;</title>
	<published>2009-11-26T16:10:39Z</published>
	<updated>2009-11-26T16:10:39Z</updated>
	<author>
		<name>Michael D. Adams</name>
	</author>
	<content type="html">Is there a way to securely pass an exact key to &amp;quot;openssl enc&amp;quot;? &amp;nbsp;The
&lt;br&gt;&amp;quot;-pass&amp;quot; option is looking for a password that it will pass though a
&lt;br&gt;key derivation function (IIUC), but I want to specify the exact binary
&lt;br&gt;key to use without it being passed though a key derivation function.
&lt;br&gt;The &amp;quot;-K&amp;quot; option would fit my needs, except that since it requires the
&lt;br&gt;key to be put on the literal command line, it exposes the key to other
&lt;br&gt;users on the same system (they can run &amp;quot;ps -f&amp;quot;).
&lt;br&gt;&lt;br&gt;I'm looking for something like &amp;quot;-pass file:&amp;lt;keyfile&amp;gt;&amp;quot; (to keep the key
&lt;br&gt;off the command line) except I want to bypass the key derivation
&lt;br&gt;function. &amp;nbsp;(If I were hashing instead of encoding I would just use
&lt;br&gt;&amp;quot;openssl sha1 -sign hmac.pem&amp;quot;.)
&lt;br&gt;&lt;br&gt;Michael D. Adams
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536458&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536458&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Secure-command-line-%22enc--K%22-tp26536458p26536458.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536407</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T16:03:03Z</published>
	<updated>2009-11-26T16:03:03Z</updated>
	<author>
		<name>John R Pierce</name>
	</author>
	<content type="html">Rene Hollan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Oh, you need to dig deeper, to understand the semantics and not just 
&lt;br&gt;&amp;gt; the syntax of those APIs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I didn't say using the source as documentation was convenient, but it 
&lt;br&gt;&amp;gt; is possible, to any degree of detail you want.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To wit: given the source code, it is possible to create documentation 
&lt;br&gt;&amp;gt; to any degree of convenience. But, given some instance of external 
&lt;br&gt;&amp;gt; documentation and no source, it is not possible to improve the 
&lt;br&gt;&amp;gt; convenience factor of that documentation to an arbitrary degree.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Suggesting what people who donate their time DO is rather like herding 
&lt;br&gt;&amp;gt; cats. Some like coding and others like documenting and some like both. 
&lt;br&gt;&amp;gt; Perhaps instead of an admonition that the project needs better 
&lt;br&gt;&amp;gt; documentation, a question regarding who is willing to contribute to 
&lt;br&gt;&amp;gt; said better documentation is more in order.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;unluckily, those of us who most need the docs are least able to 
&lt;br&gt;contribute, as I haven't the foggiest notion how to properly use any of 
&lt;br&gt;the APIs at present. &amp;nbsp; I suppose I need to get the ORA book and start 
&lt;br&gt;reading, as eventually I&amp;quot;m going to be helping another development team 
&lt;br&gt;at work with getting an SSL connection going that needs to use a client 
&lt;br&gt;certificate stored on a PKCS#11 PKI token, so I'll be sorting out how to 
&lt;br&gt;use libssl w/ opensc's engine-pkcs11 module, who's documentation is just 
&lt;br&gt;about as non-existant as that of openssl. &amp;nbsp;this task was very easy in 
&lt;br&gt;Java, as Java's SecureSocket hides all the complexity, up to and 
&lt;br&gt;including full support for PKCS#11 plugins.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536407&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536407&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536407.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536304</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-26T15:40:14Z</published>
	<updated>2009-11-26T15:40:14Z</updated>
	<author>
		<name>Rene Hollan-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7655.3&quot;&gt;
&lt;TITLE&gt;RE: General question about documentation&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/plain format --&gt;

&lt;P&gt;&lt;FONT SIZE=2&gt;Oh, you need to dig deeper, to understand the semantics and not just the syntax of those APIs.&lt;BR&gt;
&lt;BR&gt;
I didn't say using the source as documentation was convenient, but it is possible, to any degree of detail you want.&lt;BR&gt;
&lt;BR&gt;
To wit: given the source code, it is possible to create documentation to any degree of convenience. But, given some instance of external documentation and no source, it is not possible to improve the convenience factor of that documentation to an arbitrary degree.&lt;BR&gt;
&lt;BR&gt;
Suggesting what people who donate their time DO is rather like herding cats. Some like coding and others like documenting and some like both. Perhaps instead of an admonition that the project needs better documentation, a question regarding who is willing to contribute to said better documentation is more in order.&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
-----Original Message-----&lt;BR&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; on behalf of John R Pierce&lt;BR&gt;
Sent: Thu 11/26/2009 3:35 PM&lt;BR&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Subject: Re: General question about documentation&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
&amp;gt; Finally, the source code IS the only reliable source of documentation&lt;BR&gt;
&amp;gt; (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the&lt;BR&gt;
&amp;gt; right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire&lt;BR&gt;
&amp;gt; other forms.&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&lt;BR&gt;
the implementation details of the 250-odd API entry points in libssl.so&lt;BR&gt;
would tell me very little about how to properly USE those APIs, and in&lt;BR&gt;
fact, designing an application around my interpretation of the library&lt;BR&gt;
developers intent would likely lead me down some rabbit holes I'd rather&lt;BR&gt;
not explore.&lt;BR&gt;
&lt;BR&gt;
This is my idea of how open source documentation should be organized and&lt;BR&gt;
written.&lt;BR&gt;
&lt;A HREF=&quot;http://www.postgresql.org/docs/current/static/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.postgresql.org/docs/current/static/index.html&lt;/A&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
______________________________________________________________________&lt;BR&gt;
OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536304&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536237</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T15:35:42Z</published>
	<updated>2009-11-26T15:35:42Z</updated>
	<author>
		<name>John R Pierce</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; Finally, the source code IS the only reliable source of documentation 
&lt;br&gt;&amp;gt; (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the 
&lt;br&gt;&amp;gt; right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire 
&lt;br&gt;&amp;gt; other forms.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;the implementation details of the 250-odd API entry points in libssl.so 
&lt;br&gt;would tell me very little about how to properly USE those APIs, and in 
&lt;br&gt;fact, designing an application around my interpretation of the library 
&lt;br&gt;developers intent would likely lead me down some rabbit holes I'd rather 
&lt;br&gt;not explore.
&lt;br&gt;&lt;br&gt;This is my idea of how open source documentation should be organized and 
&lt;br&gt;written.
&lt;br&gt;&lt;a href=&quot;http://www.postgresql.org/docs/current/static/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.postgresql.org/docs/current/static/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536237&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536237&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536237.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536194</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T14:53:42Z</published>
	<updated>2009-11-26T14:53:42Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;p&gt;&lt;font size=&quot;2&quot;&gt;Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &quot;the right thing&quot;). It isn't the most CONVENIENT, which is why we desire other forms.&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;Just to clarify...&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;There isn't a debate about whether &quot;source code&quot; is documentation - documentation is something altogether different from source code, and it this altogether different form that is open to debate.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I think the layout, and organization of the existing OpenSSL website is evidence enough that the group intended to provide an organized documentation tree - that much is certain, so&lt;/div&gt;&lt;div&gt;we can defer the goals/desires semantic discussion. &amp;nbsp;My only point is, I think documentation has taken a back seat &quot;priority-wise&quot; due to other apparently higher-priority development tasks (including possibly paid consulting time). &amp;nbsp;My suggestion is, that we try to find some way to update the documentation on the website to reflect the features and functionality of the 1.0 release. The 1.0 release seems like a natural point at which to revisit how we (the community) or the core developers, or both, can re-sync the documentation sufficient to cover the common use-cases&lt;/div&gt;&lt;div&gt;envisioned for the feature-set. Including the basic API docs which make up the bulk of the existing documentation at the site today.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I wouldn't necessarily damn the wiki out of the gate, but I agree it will need some organization and possibly editorial support from the core development team, to be sufficiently usable to keep&lt;/div&gt;&lt;div&gt;users of the toolkit productive. And I reiterate, as a user of the toolkit, I would be happy to contribute to such a Wiki.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Randy&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;&lt;div&gt;On Nov 26, 2009, at 1:15 PM, Rene Hollan wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;
&lt;div&gt;
&lt;!-- Converted from text/plain format --&gt;&lt;p&gt;&lt;font size=&quot;2&quot;&gt;You are confusing goals and desires.&lt;br&gt;
&lt;br&gt;
Someone who wants documentation beyond what they have can either (a) write it themselves, (b) wait, (c) offer a bounty. (c) is the only practical choice, if they have money but neither time, nor expertise.&lt;br&gt;
&lt;br&gt;
Someone who wants to produce open source code to solve a problem and share the solution will do the least to get the job done. Someone who wants to produce open source software to INFLUENCE others to use it will try to produce the most usable software they can. I submit most open source projects fall somewhere in the middle.&lt;br&gt;
&lt;br&gt;
Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &quot;the right thing&quot;). It isn't the most CONVENIENT, which is why we desire other forms.&lt;br&gt;
&lt;br&gt;
Should the O'Reilly book be rewritten? Not unless it's truly awful. But, a wiki shouldn't start from scratch. It should draw upon existing documentation and fill in the gaps. Sucks if you don't have those docs (or can't afford the book), but it is the fastest way to &quot;get there from here&quot; because you don't have to start from nothing.&lt;br&gt;
&lt;br&gt;
The problem with wikis is that they tend to be a large forest of information with little organization. Unless there is some editing effort, it will be little more useful than a FAQ and mailing list archive.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
-----Original Message-----&lt;br&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; on behalf of Randy Turner&lt;br&gt;
Sent: Thu 11/26/2009 11:38 AM&lt;br&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
Subject: Re: General question about documentation&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
That's a great idea Mark and Will,&amp;nbsp;&amp;nbsp; I would be happy to contribute anything that I learn about the toolkit.&lt;br&gt;
&lt;br&gt;
There have been a wide range of comments from people saying &quot;look at the code&quot; all the way to basically suggesting an attempt&lt;br&gt;
at a new version of the O'Reilly book.&lt;br&gt;
&lt;br&gt;
I can't imagine anyone with any experience at all in software development suggesting that the only source of documentation be the source code.&lt;br&gt;
&lt;br&gt;
And I don't think I was suggesting that the OpenSSL team necessarily write a new version of the O'Reilly book.&lt;br&gt;
&lt;br&gt;
Someone also said that if we wanted documentation we should pay for it - which seems counter to the whole open source effort.&amp;nbsp; I'm assuming that the OpenSSL developers&lt;br&gt;
are not spending all this time working on the toolkit for the hell of it - I would think they would like as many people to use it as possible, and with that goal in mind, I think the 1.0 release (when it comes out of beta) would be a good stopping point to re-visit the documentation set and providing examples that reflect the most common use-cases. The mailing list is always here for unusual use-cases.&lt;br&gt;
&lt;br&gt;
That being said, I think a Wiki is also a great idea, but would not obviate the need for the developers of the toolkit to complete the documentation set. I've spent a quite a bit of time with OpenSSL and would be happy to contribute to a Wiki.&lt;br&gt;
&lt;br&gt;
Thanks!!&lt;br&gt;
Randy&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
On Nov 25, 2009, at 3:13 PM, Will Bickford wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; IMO a wiki would be a great resource for both developers and users of&lt;br&gt;
&amp;gt; OpenSSL.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Something along the lines of the Subversion Book - an online reference&lt;br&gt;
&amp;gt; &quot;book&quot; for OpenSSL.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --Will&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; -----Original Message-----&lt;br&gt;
&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;] On Behalf Of Mark&lt;br&gt;
&amp;gt;&amp;gt; Sent: Wednesday, November 25, 2009 3:27 AM&lt;br&gt;
&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Subject: RE: General question about documentation&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I would like to post a general observation regarding users of the&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; OpenSSL toolkit.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; [snip stuff about documentation]]&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; A long time ago it was suggested to use a wiki for this&lt;br&gt;
&amp;gt;&amp;gt; purpose. Can this idea be resurrected?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Mark.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ______________________________________________________________________&lt;br&gt;
&amp;gt;&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; ______________________________________________________________________&lt;br&gt;
&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
______________________________________________________________________&lt;br&gt;
OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://www.openssl.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;
User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;br&gt;
Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536194&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26536194.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535592</id>
	<title>RE: Help with error - hardware capability unsupported SSE2</title>
	<published>2009-11-26T14:14:33Z</published>
	<updated>2009-11-26T14:14:33Z</updated>
	<author>
		<name>J. J. Farrell</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16915&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
  &lt;HR tabIndex=-1&gt;
  &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Jeremy Farrell&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
    &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
    &lt;HR tabIndex=-1&gt;
    &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Chris Copeland&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;
    &lt;DIV class=gmail_quote&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;
    &lt;DIV&gt;&lt;BR&gt;I am building and packaging the following on one machine (the 
    &quot;build&quot;&lt;BR&gt;machine) and attempting to install and use on other machines 
    (&quot;target&quot;&lt;BR&gt;machines) some of which have different processors.&lt;BR&gt;&lt;BR&gt;* 
    OpenSSL 0.9.8l&lt;BR&gt;* Apache 2.2.14&lt;BR&gt;* Tomcat Connectors 1.2.28&lt;BR&gt;&lt;BR&gt;The 
    problem, as far as I can tell, is that the build machine has more&lt;BR&gt;CPU 
    capabilities than the target machine resulting in binaries that&lt;BR&gt;are not 
    executable on the target machine. &amp;nbsp;I have attempted to use&lt;BR&gt;configure 
    and compiler flags to disable use of the offending&lt;BR&gt;instructions without 
    luck.&lt;BR&gt;&lt;BR&gt;Ultimately I get this error:&lt;BR&gt;&lt;BR&gt;$ ./apachectl start httpd: 
    Syntax error on line 58 of&lt;BR&gt;/usr/local/apache-2.2.14/conf/httpd.conf: 
    Cannot load&lt;BR&gt;/usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: 
    httpd:&lt;BR&gt;fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware 
    capability&lt;BR&gt;unsupported: 0x1000 [ SSE2 ]&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
  &lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;According to the message, your problem is that mod_ssl.so 
  requires SSE2. You'd be best to ask the community responsible for that library 
  how to build a version of it which doesn't require SSE2. I don't know for 
  sure, but I think I recall mention that it's part of 
  Apache.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
  &lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
  &lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;On the&amp;nbsp;surface your OpenSSL build looks fit for 
  purpose.&lt;/FONT&gt;&amp;nbsp;&lt;SPAN class=476221222-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV class=gmail_quote dir=ltr style=&quot;MARGIN-RIGHT: 0px&quot;&gt;&lt;SPAN class=053180722-26112009&gt;&lt;SPAN class=476221222-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Grrr ... Apologies, that's nonsense. It always pays to read 
all the message before commenting.&lt;/FONT&gt;&amp;nbsp;&lt;FONT face=Verdana color=#000080 size=2&gt;I've no idea what's going on here; I'll leave it to someone who actually 
has a clue to say something useful.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-with-error---hardware-capability-unsupported-SSE2-tp26533934p26535592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535550</id>
	<title>RE: Help with error - hardware capability unsupported SSE2</title>
	<published>2009-11-26T14:10:39Z</published>
	<updated>2009-11-26T14:10:39Z</updated>
	<author>
		<name>J. J. Farrell</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16915&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
  &lt;HR tabIndex=-1&gt;
  &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Chris Copeland&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;
  &lt;DIV class=gmail_quote&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;
  &lt;DIV&gt;&lt;BR&gt;I am building and packaging the following on one machine (the 
  &quot;build&quot;&lt;BR&gt;machine) and attempting to install and use on other machines 
  (&quot;target&quot;&lt;BR&gt;machines) some of which have different processors.&lt;BR&gt;&lt;BR&gt;* 
  OpenSSL 0.9.8l&lt;BR&gt;* Apache 2.2.14&lt;BR&gt;* Tomcat Connectors 1.2.28&lt;BR&gt;&lt;BR&gt;The 
  problem, as far as I can tell, is that the build machine has more&lt;BR&gt;CPU 
  capabilities than the target machine resulting in binaries that&lt;BR&gt;are not 
  executable on the target machine. &amp;nbsp;I have attempted to use&lt;BR&gt;configure 
  and compiler flags to disable use of the offending&lt;BR&gt;instructions without 
  luck.&lt;BR&gt;&lt;BR&gt;Ultimately I get this error:&lt;BR&gt;&lt;BR&gt;$ ./apachectl start httpd: 
  Syntax error on line 58 of&lt;BR&gt;/usr/local/apache-2.2.14/conf/httpd.conf: Cannot 
  load&lt;BR&gt;/usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: 
  httpd:&lt;BR&gt;fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware 
  capability&lt;BR&gt;unsupported: 0x1000 [ SSE2 ]&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;According to the message, your problem is that mod_ssl.so 
requires SSE2. You'd be best to ask the community responsible for that library 
how to build a version of it which doesn't require SSE2. I don't know for sure, 
but I think I recall mention that it's part of Apache.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=gmail_quote&gt;&lt;SPAN class=053180722-26112009&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;On the&amp;nbsp;surface your OpenSSL build looks fit for 
purpose.&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-with-error---hardware-capability-unsupported-SSE2-tp26533934p26535550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534998</id>
	<title>[openssl.org #2111] [PATCH] Handle OOM for bn_wexpand</title>
	<published>2009-11-26T13:18:39Z</published>
	<updated>2009-11-26T13:18:39Z</updated>
	<author>
		<name>Misha Aizatulin via RT</name>
	</author>
	<content type="html">This patch makes OOM handling consistent with the rest of the file.
&lt;br&gt;&lt;br&gt;&lt;br /&gt;diff -rup openssl-1.0.0-beta4/crypto/bn/bn_mul.c openssl-1.0.0-beta4_fixed/crypto/bn/bn_mul.c
&lt;br&gt;--- openssl-1.0.0-beta4/crypto/bn/bn_mul.c	2009-06-17 13:47:54.000000000 +0200
&lt;br&gt;+++ openssl-1.0.0-beta4_fixed/crypto/bn/bn_mul.c	2009-11-24 16:12:35.000000000 +0100
&lt;br&gt;@@ -1032,15 +1032,15 @@ int BN_mul(BIGNUM *r, const BIGNUM *a, c
&lt;br&gt;&amp;nbsp;				goto err;
&lt;br&gt;&amp;nbsp;			if (al &amp;gt; j || bl &amp;gt; j)
&lt;br&gt;&amp;nbsp;				{
&lt;br&gt;-				bn_wexpand(t,k*4);
&lt;br&gt;-				bn_wexpand(rr,k*4);
&lt;br&gt;+				if (bn_wexpand(t,k*4) == NULL) goto err;
&lt;br&gt;+				if (bn_wexpand(rr,k*4) == NULL) goto err;
&lt;br&gt;&amp;nbsp;				bn_mul_part_recursive(rr-&amp;gt;d,a-&amp;gt;d,b-&amp;gt;d,
&lt;br&gt;&amp;nbsp;					j,al-j,bl-j,t-&amp;gt;d);
&lt;br&gt;&amp;nbsp;				}
&lt;br&gt;&amp;nbsp;			else	/* al &amp;lt;= j || bl &amp;lt;= j */
&lt;br&gt;&amp;nbsp;				{
&lt;br&gt;-				bn_wexpand(t,k*2);
&lt;br&gt;-				bn_wexpand(rr,k*2);
&lt;br&gt;+				if (bn_wexpand(t,k*2) == NULL) goto err;
&lt;br&gt;+				if (bn_wexpand(rr,k*2) == NULL) goto err;
&lt;br&gt;&amp;nbsp;				bn_mul_recursive(rr-&amp;gt;d,a-&amp;gt;d,b-&amp;gt;d,
&lt;br&gt;&amp;nbsp;					j,al-j,bl-j,t-&amp;gt;d);
&lt;br&gt;&amp;nbsp;				}
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---Dev-f980.html&quot; embed=&quot;fixTarget[980]&quot; target=&quot;_top&quot; &gt;OpenSSL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-openssl.org--2111---PATCH--Handle-OOM-for-bn_wexpand-tp26534998p26534998.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534971</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-26T13:15:17Z</published>
	<updated>2009-11-26T13:15:17Z</updated>
	<author>
		<name>Rene Hollan-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7655.3&quot;&gt;
&lt;TITLE&gt;RE: General question about documentation&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/plain format --&gt;

&lt;P&gt;&lt;FONT SIZE=2&gt;You are confusing goals and desires.&lt;BR&gt;
&lt;BR&gt;
Someone who wants documentation beyond what they have can either (a) write it themselves, (b) wait, (c) offer a bounty. (c) is the only practical choice, if they have money but neither time, nor expertise.&lt;BR&gt;
&lt;BR&gt;
Someone who wants to produce open source code to solve a problem and share the solution will do the least to get the job done. Someone who wants to produce open source software to INFLUENCE others to use it will try to produce the most usable software they can. I submit most open source projects fall somewhere in the middle.&lt;BR&gt;
&lt;BR&gt;
Finally, the source code IS the only reliable source of documentation (assuming you can trust your compiler, OS, and hardware to do &amp;quot;the right thing&amp;quot;). It isn't the most CONVENIENT, which is why we desire other forms.&lt;BR&gt;
&lt;BR&gt;
Should the O'Reilly book be rewritten? Not unless it's truly awful. But, a wiki shouldn't start from scratch. It should draw upon existing documentation and fill in the gaps. Sucks if you don't have those docs (or can't afford the book), but it is the fastest way to &amp;quot;get there from here&amp;quot; because you don't have to start from nothing.&lt;BR&gt;
&lt;BR&gt;
The problem with wikis is that they tend to be a large forest of information with little organization. Unless there is some editing effort, it will be little more useful than a FAQ and mailing list archive.&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
-----Original Message-----&lt;BR&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; on behalf of Randy Turner&lt;BR&gt;
Sent: Thu 11/26/2009 11:38 AM&lt;BR&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Subject: Re: General question about documentation&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
That's a great idea Mark and Will,&amp;nbsp;&amp;nbsp; I would be happy to contribute anything that I learn about the toolkit.&lt;BR&gt;
&lt;BR&gt;
There have been a wide range of comments from people saying &amp;quot;look at the code&amp;quot; all the way to basically suggesting an attempt&lt;BR&gt;
at a new version of the O'Reilly book.&lt;BR&gt;
&lt;BR&gt;
I can't imagine anyone with any experience at all in software development suggesting that the only source of documentation be the source code.&lt;BR&gt;
&lt;BR&gt;
And I don't think I was suggesting that the OpenSSL team necessarily write a new version of the O'Reilly book.&lt;BR&gt;
&lt;BR&gt;
Someone also said that if we wanted documentation we should pay for it - which seems counter to the whole open source effort.&amp;nbsp; I'm assuming that the OpenSSL developers&lt;BR&gt;
are not spending all this time working on the toolkit for the hell of it - I would think they would like as many people to use it as possible, and with that goal in mind, I think the 1.0 release (when it comes out of beta) would be a good stopping point to re-visit the documentation set and providing examples that reflect the most common use-cases. The mailing list is always here for unusual use-cases.&lt;BR&gt;
&lt;BR&gt;
That being said, I think a Wiki is also a great idea, but would not obviate the need for the developers of the toolkit to complete the documentation set. I've spent a quite a bit of time with OpenSSL and would be happy to contribute to a Wiki.&lt;BR&gt;
&lt;BR&gt;
Thanks!!&lt;BR&gt;
Randy&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
On Nov 25, 2009, at 3:13 PM, Will Bickford wrote:&lt;BR&gt;
&lt;BR&gt;
&amp;gt; IMO a wiki would be a great resource for both developers and users of&lt;BR&gt;
&amp;gt; OpenSSL.&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt; Something along the lines of the Subversion Book - an online reference&lt;BR&gt;
&amp;gt; &amp;quot;book&amp;quot; for OpenSSL.&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt; --Will&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; -----Original Message-----&lt;BR&gt;
&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt; [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;] On Behalf Of Mark&lt;BR&gt;
&amp;gt;&amp;gt; Sent: Wednesday, November 25, 2009 3:27 AM&lt;BR&gt;
&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt; Subject: RE: General question about documentation&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt;&amp;gt; I would like to post a general observation regarding users of the&lt;BR&gt;
&amp;gt;&amp;gt;&amp;gt; OpenSSL toolkit.&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; [snip stuff about documentation]]&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; A long time ago it was suggested to use a wiki for this&lt;BR&gt;
&amp;gt;&amp;gt; purpose. Can this idea be resurrected?&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; Mark.&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt; ______________________________________________________________________&lt;BR&gt;
&amp;gt;&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
&amp;gt;&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt;&amp;gt;&lt;BR&gt;
&amp;gt; ______________________________________________________________________&lt;BR&gt;
&amp;gt; OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
&amp;gt; User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
&amp;gt; Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&amp;gt;&lt;BR&gt;
&lt;BR&gt;
______________________________________________________________________&lt;BR&gt;
OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A HREF=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;
User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;
Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534971&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26534971.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534841</id>
	<title>Re: [openssl.org #2110] [PATCH] Changed behavior of BIO_CTRL_DGRAM_GET_PEER breaks DTLS apps</title>
	<published>2009-11-26T13:01:57Z</published>
	<updated>2009-11-26T13:01:57Z</updated>
	<author>
		<name>Misha Aizatulin via RT</name>
	</author>
	<content type="html">&amp;gt; The latest changes of bss_dgram.c affected the behavior of
&lt;br&gt;&amp;gt; BIO_CTRL_DGRAM_GET_PEER, which now requires to preset the expected IP
&lt;br&gt;&amp;gt; type before requesting the current peer.
&lt;br&gt;&lt;br&gt;Which was just wrong to assume, my bad. Thanks for report and
&lt;br&gt;suggestion. Slightly modified version is committed as per
&lt;br&gt;&lt;a href=&quot;http://cvs.openssl.org/chngview?cn=18912&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cvs.openssl.org/chngview?cn=18912&lt;/a&gt;. A.
&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;Development Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534841&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-dev@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534841&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---Dev-f980.html&quot; embed=&quot;fixTarget[980]&quot; target=&quot;_top&quot; &gt;OpenSSL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-openssl.org--2110---PATCH--Changed-behavior-of-BIO_CTRL_DGRAM_GET_PEER-breaks-DTLS-apps-tp26533954p26534841.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534824</id>
	<title>Re: DES3 Encryption &amp; Decryption</title>
	<published>2009-11-26T12:59:36Z</published>
	<updated>2009-11-26T12:59:36Z</updated>
	<author>
		<name>Michael S. Zick-4</name>
	</author>
	<content type="html">On Wed November 25 2009, Krishna, Bharath wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I am new for Unix development work. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Can you please enlighten me clearly about the OPENSSL tool kit and
&lt;br&gt;&amp;gt; how we could achieve the below requirement. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Requirement:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; As per customer requirements we should use DES3 algorithm to store
&lt;br&gt;&amp;gt; password in a file. For this, we have installed OPENSSL toolkit in our
&lt;br&gt;&amp;gt; server.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Any particular operating system?
&lt;br&gt;In linux, you can already choose to use DES3 for shadow passwords.
&lt;br&gt;&lt;br&gt;Nothing more required than a current passwd utility.
&lt;br&gt;&lt;br&gt;Mike
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Issue:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I don't know, how to use the OPENSSL toolkit to achieve the above
&lt;br&gt;&amp;gt; requirement.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you please anybody help on this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534824&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DES3-Encryption---Decryption-tp26533940p26534824.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534363</id>
	<title>Re: DES3 Encryption &amp; Decryption</title>
	<published>2009-11-26T12:07:44Z</published>
	<updated>2009-11-26T12:07:44Z</updated>
	<author>
		<name>Patrick Patterson-3</name>
	</author>
	<content type="html">Hey there;
&lt;br&gt;&lt;br&gt;When asking for advice, please at least say whether you are trying to do
&lt;br&gt;something programatically (i.e.: using the OpenSSL API), or just need to
&lt;br&gt;do it from the command line.
&lt;br&gt;&lt;br&gt;If it is the command line, then please include what you have tried, and
&lt;br&gt;the results that you got.
&lt;br&gt;&lt;br&gt;To this current issue, if you are trying to do it via the command line,
&lt;br&gt;the man page ('man enc') has several really good examples of how to do
&lt;br&gt;3DES encryption.
&lt;br&gt;&lt;br&gt;If you need to do it programatically, take a look at the WvStreams
&lt;br&gt;'wvtripledes' class code at &lt;a href=&quot;http://code.google.com/p/wvstreams/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/wvstreams/&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&lt;br&gt;Have fun.
&lt;br&gt;&lt;br&gt;Patrick.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Krishna, Bharath wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I am new for Unix development work. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Can you please enlighten me clearly about the OPENSSL tool kit and
&lt;br&gt;&amp;gt; how we could achieve the below requirement. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Requirement:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; As per customer requirements we should use DES3 algorithm to store
&lt;br&gt;&amp;gt; password in a file. For this, we have installed OPENSSL toolkit in our
&lt;br&gt;&amp;gt; server.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Issue:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I don't know, how to use the OPENSSL toolkit to achieve the above
&lt;br&gt;&amp;gt; requirement.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you please anybody help on this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534363&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DES3-Encryption---Decryption-tp26533940p26534363.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534388</id>
	<title>Re: New blackout</title>
	<published>2009-11-26T11:39:25Z</published>
	<updated>2009-11-26T11:39:25Z</updated>
	<author>
		<name>Lutz Jaenicke</name>
	</author>
	<content type="html">Chris Wilson wrote:
&lt;br&gt;&amp;gt; On Wed, 25 Nov 2009, The Doctor wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I was able to see openssl.org last night MST but not at this current 
&lt;br&gt;&amp;gt;&amp;gt; time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Works fine for me.
&lt;br&gt;&lt;br&gt;We did have &amp;quot;filesystem full&amp;quot; problems in the last days which led to 
&lt;br&gt;system panics. These issues should be sorted out now (thanks to Ralf S. 
&lt;br&gt;Engelschall who is technically operating the server hardware).
&lt;br&gt;Please excuse any inconvenience.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; Lutz
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534388&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534388&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-blackout-tp26520182p26534388.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534088</id>
	<title>Re: General question about documentation</title>
	<published>2009-11-26T11:38:28Z</published>
	<updated>2009-11-26T11:38:28Z</updated>
	<author>
		<name>Randy Turner-2</name>
	</author>
	<content type="html">&lt;br&gt;That's a great idea Mark and Will, &amp;nbsp; I would be happy to contribute anything that I learn about the toolkit.
&lt;br&gt;&lt;br&gt;There have been a wide range of comments from people saying &amp;quot;look at the code&amp;quot; all the way to basically suggesting an attempt
&lt;br&gt;at a new version of the O'Reilly book.
&lt;br&gt;&lt;br&gt;I can't imagine anyone with any experience at all in software development suggesting that the only source of documentation be the source code.
&lt;br&gt;&lt;br&gt;And I don't think I was suggesting that the OpenSSL team necessarily write a new version of the O'Reilly book.
&lt;br&gt;&lt;br&gt;Someone also said that if we wanted documentation we should pay for it - which seems counter to the whole open source effort. &amp;nbsp;I'm assuming that the OpenSSL developers
&lt;br&gt;are not spending all this time working on the toolkit for the hell of it - I would think they would like as many people to use it as possible, and with that goal in mind, I think the 1.0 release (when it comes out of beta) would be a good stopping point to re-visit the documentation set and providing examples that reflect the most common use-cases. The mailing list is always here for unusual use-cases.
&lt;br&gt;&lt;br&gt;That being said, I think a Wiki is also a great idea, but would not obviate the need for the developers of the toolkit to complete the documentation set. I've spent a quite a bit of time with OpenSSL and would be happy to contribute to a Wiki.
&lt;br&gt;&lt;br&gt;Thanks!!
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 25, 2009, at 3:13 PM, Will Bickford wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; IMO a wiki would be a great resource for both developers and users of
&lt;br&gt;&amp;gt; OpenSSL.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Something along the lines of the Subversion Book - an online reference
&lt;br&gt;&amp;gt; &amp;quot;book&amp;quot; for OpenSSL.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --Will
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; 
&lt;br&gt;&amp;gt;&amp;gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;] On Behalf Of Mark
&lt;br&gt;&amp;gt;&amp;gt; Sent: Wednesday, November 25, 2009 3:27 AM
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: RE: General question about documentation
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I would like to post a general observation regarding users of the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; OpenSSL toolkit.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; [snip stuff about documentation]]
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; A long time ago it was suggested to use a wiki for this 
&lt;br&gt;&amp;gt;&amp;gt; purpose. Can this idea be resurrected?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Mark.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534088&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26534088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533954</id>
	<title>[openssl.org #2110] [PATCH] Changed behavior of BIO_CTRL_DGRAM_GET_PEER breaks DTLS apps</title>
	<published>2009-11-26T11:24:16Z</published>
	<updated>2009-11-26T11:24:16Z</updated>
	<author>
		<name>Misha Aizatulin via RT</name>
	</author>
	<content type="html">The latest changes of bss_dgram.c affected the behavior of BIO_CTRL_DGRAM_GET_PEER, which now requires to preset the expected IP type before requesting the current peer. This was done to prevent that the user always has to use sockaddr_storage, even if he doesn't use IPv6 at all. The default is to return the length of a sockaddr structure which is always wrong, therefore existing DTLS applications which rely on this function for cookie generation, such as s_server/s_client, don't work anymore. Additionally, this requires that the user has to guess which IP type the peer has. This can be difficult, e.g. if the client uses IPv4 to connect to an IPv6 socket and a system returns AF_INET then.
&lt;br&gt;&lt;br&gt;A better solution is to use the num parameter of BIO_ctrl() to limit the length if desired. When num is 0, the function returns either sockaddr_in or sockaddr_in6, depending on what's necessary, so the user should use sockaddr_storage. If the user knows that he only uses IPv4 and doesn't want to use sockaddr_storage, he can limit the copied length by setting the num parameter to sizeof(struct sockaddr_in). He can then check if the family variable of the passed structure is really AF_INET and try again with sockaddr_storage or handle it as an error in case it's not.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Index: crypto/bio/bss_dgram.c
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /v/openssl/cvs/openssl/crypto/bio/bss_dgram.c,v
&lt;br&gt;retrieving revision 1.7.2.20
&lt;br&gt;diff -u -r1.7.2.20 bss_dgram.c
&lt;br&gt;--- crypto/bio/bss_dgram.c	22 Nov 2009 12:24:43 -0000	1.7.2.20
&lt;br&gt;+++ crypto/bio/bss_dgram.c	26 Nov 2009 10:20:24 -0000
&lt;br&gt;@@ -566,18 +970,24 @@
&lt;br&gt;&amp;nbsp;		break;
&lt;br&gt;&amp;nbsp;	case BIO_CTRL_DGRAM_GET_PEER:
&lt;br&gt;&amp;nbsp;		to = (struct sockaddr *) ptr;
&lt;br&gt;-		switch (to-&amp;gt;sa_family)
&lt;br&gt;+		switch (data-&amp;gt;peer.sa.sa_family)
&lt;br&gt;&amp;nbsp;			{
&lt;br&gt;&amp;nbsp;			case AF_INET:
&lt;br&gt;-				memcpy(to,&amp;data-&amp;gt;peer,(ret=sizeof(data-&amp;gt;peer.sa_in)));
&lt;br&gt;+				if (num == 0 || num &amp;gt; sizeof(data-&amp;gt;peer.sa_in))
&lt;br&gt;+					num = sizeof(data-&amp;gt;peer.sa_in);
&lt;br&gt;+				memcpy(to,&amp;data-&amp;gt;peer,(ret=num));
&lt;br&gt;&amp;nbsp;				break;
&lt;br&gt;&amp;nbsp;#if OPENSSL_USE_IPV6
&lt;br&gt;&amp;nbsp;			case AF_INET6:
&lt;br&gt;-				memcpy(to,&amp;data-&amp;gt;peer,(ret=sizeof(data-&amp;gt;peer.sa_in6)));
&lt;br&gt;+				if (num == 0 || num &amp;gt; sizeof(data-&amp;gt;peer.sa_in6))
&lt;br&gt;+					num = sizeof(data-&amp;gt;peer.sa_in6);
&lt;br&gt;+				memcpy(to,&amp;data-&amp;gt;peer,(ret=num));
&lt;br&gt;&amp;nbsp;				break;
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;			default:
&lt;br&gt;-				memcpy(to,&amp;data-&amp;gt;peer,(ret=sizeof(data-&amp;gt;peer.sa)));
&lt;br&gt;+				if (num == 0 || num &amp;gt; sizeof(data-&amp;gt;peer.sa))
&lt;br&gt;+					num = sizeof(data-&amp;gt;peer.sa);
&lt;br&gt;+				memcpy(to,&amp;data-&amp;gt;peer,(ret=num));
&lt;br&gt;&amp;nbsp;				break;
&lt;br&gt;&amp;nbsp;			}
&lt;br&gt;&amp;nbsp;		break;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;get_peer.patch&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/26533954/0/get_peer.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---Dev-f980.html&quot; embed=&quot;fixTarget[980]&quot; target=&quot;_top&quot; &gt;OpenSSL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-openssl.org--2110---PATCH--Changed-behavior-of-BIO_CTRL_DGRAM_GET_PEER-breaks-DTLS-apps-tp26533954p26533954.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533682</id>
	<title>Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)</title>
	<published>2009-11-26T10:59:50Z</published>
	<updated>2009-11-26T10:59:50Z</updated>
	<author>
		<name>Dr. Stephen Henson</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009, Mathieu Malaterre wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Steve,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Do you have a sample PBE blob you want to decrypt?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here is one:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; $ wget &lt;a href=&quot;http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; $ openssl asn1parse -in DICOMDIR -inform DER
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It was generated using Bouncy Castle
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I forgot to mention, if you need help from me, do not hesitate !
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I've added experimental support to HEAD. This seems to decrypt the example OK
&lt;br&gt;and can decrypt its own output. It adds a new option -pwri_password to the
&lt;br&gt;cms utility (will need something better at some point).
&lt;br&gt;&lt;br&gt;Steve.
&lt;br&gt;--
&lt;br&gt;Dr Stephen N. Henson. OpenSSL project core developer.
&lt;br&gt;Commercial tech support now available see: &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533682&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533682&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CMS-with-PBE-%28Was-Re%3A-Decrypting-a-password-encrypted--pkcs7-envelopedData%29-tp26194578p26533682.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528693</id>
	<title>Re: Adding a custom engine to OpenSSL</title>
	<published>2009-11-26T04:24:29Z</published>
	<updated>2009-11-26T04:24:29Z</updated>
	<author>
		<name>Dr. Stephen Henson</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009, Loke Jun Han wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yes, you specify details in the configuration file openssl.cnf, for the syntax
&lt;br&gt;see:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.openssl.org/docs/apps/config.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org/docs/apps/config.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Steve.
&lt;br&gt;--
&lt;br&gt;Dr Stephen N. Henson. OpenSSL project core developer.
&lt;br&gt;Commercial tech support now available see: &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528693&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528693&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26528693.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533948</id>
	<title>[PATCH] Fixup compilation for gcc-aix target</title>
	<published>2009-11-26T03:37:52Z</published>
	<updated>2009-11-26T03:37:52Z</updated>
	<author>
		<name>Alon Bar-Lev</name>
	</author>
	<content type="html">Version 1.0.0-beta4 and latest 1.0.0.0 snapshot.
&lt;br&gt;Tested to work in Linux-2.4, Linux-2.6, Solaris-8, Solaris-10, AIX-3.5
&lt;br&gt;&lt;br&gt;&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;sltest.c:157:1: error: &amp;quot;_XOPEN_SOURCE&amp;quot; redefined
&lt;br&gt;In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/assert.h:64,
&lt;br&gt;from ssltest.c:146:
&lt;br&gt;/usr/include/standards.h:114:1: error: this is the location of the previous definition
&lt;br&gt;make: 1254-004 The error code from the last command is 1.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Stop.
&lt;br&gt;make: 1254-004 The error code from the last command is 1.
&lt;br&gt;&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&lt;br&gt;diff -urNp openssl-1.0.0-beta4.org/ssl/ssltest.c openssl-1.0.0-beta4/ssl/ssltest.c
&lt;br&gt;--- openssl-1.0.0-beta4.org/ssl/ssltest.c	2009-01-08 01:44:27.000000000 +0200
&lt;br&gt;+++ openssl-1.0.0-beta4/ssl/ssltest.c	2009-11-21 09:24:46.001175088 +0200
&lt;br&gt;@@ -143,6 +143,9 @@
&lt;br&gt;&amp;nbsp;#define _BSD_SOURCE 1		/* Or gethostname won't be declared properly
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; on Linux and GNU platforms. */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#define _XOPEN_SOURCE 500	/* Or isascii won't be declared properly on
&lt;br&gt;+				 &amp;nbsp; VMS (at least with DECompHP C). &amp;nbsp;*/
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#include &amp;lt;assert.h&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;errno.h&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;limits.h&amp;gt;
&lt;br&gt;@@ -154,8 +157,6 @@
&lt;br&gt;&amp;nbsp;#define USE_SOCKETS
&lt;br&gt;&amp;nbsp;#include &amp;quot;e_os.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#define _XOPEN_SOURCE 500	/* Or isascii won't be declared properly on
&lt;br&gt;-				 &amp;nbsp; VMS (at least with DECompHP C). &amp;nbsp;*/
&lt;br&gt;&amp;nbsp;#include &amp;lt;ctype.h&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;lt;openssl/bio.h&amp;gt;
&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;Development Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533948&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-dev@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533948&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---Dev-f980.html&quot; embed=&quot;fixTarget[980]&quot; target=&quot;_top&quot; &gt;OpenSSL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Fixup-compilation-for-gcc-aix-target-tp26533948p26533948.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527952</id>
	<title>Re: Adding a custom engine to OpenSSL</title>
	<published>2009-11-26T03:21:35Z</published>
	<updated>2009-11-26T03:21:35Z</updated>
	<author>
		<name>Michael S. Zick-4</name>
	</author>
	<content type="html">On Thu November 26 2009, Loke Jun Han wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Like one of the engines in the list from:
&lt;br&gt;openssl engine
&lt;br&gt;?
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jun Han 
&lt;br&gt;&amp;gt; &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; Windows 7: Find the right PC for you. Learn more.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://windows.microsoft.com/shop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://windows.microsoft.com/shop&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527952&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527952&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26527952.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26526324</id>
	<title>Adding a custom engine to OpenSSL</title>
	<published>2009-11-26T00:52:09Z</published>
	<updated>2009-11-26T00:52:09Z</updated>
	<author>
		<name>Loke Jun Han</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Hi,&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there anyway to for openSSL to automatically load a specific engine when the command line program is executed?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Jun Han &lt;br&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Windows 7: Find the right PC for you. &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-custom-engine-to-OpenSSL-tp26526324p26526324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26524394</id>
	<title>Re: Application crashes when trying to access X509 Certificate Extension returned by X509_get_ext method</title>
	<published>2009-11-25T19:14:00Z</published>
	<updated>2009-11-25T19:14:00Z</updated>
	<author>
		<name>Sanjay Bhat</name>
	</author>
	<content type="html">&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content=&quot;text/html; charset=utf-8&quot; http-equiv=Content-Type&gt;
&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18702&quot;&gt;&lt;/HEAD&gt;
&lt;BODY style=&quot;MARGIN: 4px 4px 1px; FONT: 10pt Tahoma&quot;&gt;
&lt;DIV&gt;Hi Kyle,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks a ton&amp;nbsp;for the quick reply buddy :)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;When we debug our application in visual studio, we see that both &quot;Extension&quot; and &quot;Extension-&amp;gt;value&quot; are not NULL. But &quot;Extension-&amp;gt;value-&amp;gt;data&quot; seems to be NULL or corrupted, causing our application to crash.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I am trying these options for debugging the problem&amp;nbsp;:&lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; make sure the X509 certificate we are using is a valid one, containing the&amp;nbsp;extension we are looking for,&amp;nbsp;because &quot;Certificate-&amp;gt;valid&quot; is set to 0 for our certificate.&lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; debug through the openssl function X509_get_ext( ) in visual studio by attaching the openssl source, to see why &quot;Extension-&amp;gt;value-&amp;gt;data&quot; is not being set correctly.&lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; also try using some older openssl version instead of the current 0.9.8 d we are currently using. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I will update again after trying these options.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I suspect something being wrong in this certificate itself, may be it does not comply to the X509 certificate format. Can you please confirm that the certificate we are using&amp;nbsp;is a valid x509 certificate ? &lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This is the certificate we are using :&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;static unsigned char *LETestDefaultKey = {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----BEGIN RSA PRIVATE KEY-----\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MIIBPAIBAAJBAM6ss7cWYg0Yf7Ot6PkdWBtQ0Pp89YO/2rG0K8iAJW5AY399hh/s\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;VjiIfPZpqCwqJka/2r23jzZJfW8X19nTiqECAwEAAQJATBeXv0P1a77mXYAdM4LT\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;SpNRrbfOKOi9GworyJEtts5Cn153ROK3750NHrOeaXbkFl89/UD0oMsO22TnF+Ol\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;lQIhAO0gkTZggugyZ7HDQihy/7EVAgK9rg7SPc5JnyZITW5bAiEA3x+q4AZDXUHW\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;26W7BlZoedPy6Mo5wWNb/gN9x/T987MCIQCt8TfUFZOxVFgwU7USCtl5QpnI/O7T\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;PHHOAr9Vy6/RBQIhAJPO76y+mWuzDPmu/YmCPm3OWZGbPc1929gXSgDnrD//AiEA\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;vwlwVtb26OSBJX47M+MZeWsiD3GVydtRdcL9+Xy0XEw=\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----END RSA PRIVATE KEY-----\r\n&quot;&lt;BR&gt;&amp;nbsp;};&lt;BR&gt;static unsigned char *LETestDefaultCert = {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----BEGIN CERTIFICATE-----\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MIIBojCCAUygAwIBAgIBMzANBgkqhkiG9w0BAQQFADAqMQswCQYDVQQGEwJVUzEb\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MBkGA1UEAxMSTm92ZWxsIE5TdXJlIEF1ZGl0MB4XDTA1MTAxMTE3NDEyOFoXDTE1\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;MTAwOTE3NDEyOFowJjELMAkGA1UEBhMCVVMxFzAVBgNVBAMTDlNlY3VyZUxvZ2lu\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;U1NPMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAM6ss7cWYg0Yf7Ot6PkdWBtQ0Pp8\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;9YO/2rG0K8iAJW5AY399hh/sVjiIfPZpqCwqJka/2r23jzZJfW8X19nTiqECAwEA\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;AaNhMF8wDgYDVR0PAQH/BAQDAgWgMBgGA1UdEQQRMA+BDWFyZ2xAYmxhaC5jb20w\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;EQYJYIZIAYb4QgEBBAQDAgWgMCAGDGCGSAGG+DcBglsKAQQQFg5TZWN1cmVMb2dp\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;blNTTzANBgkqhkiG9w0BAQQFAANBABaOsowc+4encEksW5w1v1dHg7DNdBbQJHct\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;JSNfzPfE8igm617Ggsfrb0nkc50mdlyugkfZC/dX+sx4vtQk1Ok=\r\n&quot;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&quot;-----END CERTIFICATE-----\r\n&quot;&lt;BR&gt;&amp;nbsp;};&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;Looking forward for your reply... have a wonderful day ahead !!!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanjay &lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&amp;gt;&amp;gt;&amp;gt; Kyle Hamilton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aerowolf@...&lt;/a&gt;&amp;gt; 11/24/2009 4:56 AM &amp;gt;&amp;gt;&amp;gt;&lt;BR&gt;Are you checking to make sure that there *is* data in that extension?&lt;BR&gt;Or that the extension value even exists?&lt;BR&gt;&lt;BR&gt;if (NULL == Extension-&amp;gt;value) assert(&quot;Extension-&amp;gt;value NULL&quot;);&lt;BR&gt;if (NULL == Extension-&amp;gt;value-&amp;gt;data) assert (&quot;Extension-&amp;gt;value-&amp;gt;data NULL&quot;);&lt;BR&gt;OrgPtr=Extension-&amp;gt;value-&amp;gt;data;&lt;BR&gt;&lt;BR&gt;-Kyle H&lt;BR&gt;&lt;BR&gt;On Fri, Nov 20, 2009 at 3:50 AM, Sanjay Bhat &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bsanjay@...&lt;/a&gt;&amp;gt; wrote:&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Hi,&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Our application running in windows 2008 64-bit platform crashes when we try&lt;BR&gt;&amp;gt; to access the data member of X509_EXTENSION returned by X509_get_ext().&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; We are using&amp;nbsp; 0.9.8d version of openssl compiled for windows 64 bit&lt;BR&gt;&amp;gt; platform.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; We are clueless why this is happening and are badly stuck with this. Please&lt;BR&gt;&amp;gt; help us.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Here is the code snippet of our application with the point of crash in bold&lt;BR&gt;&amp;gt; :&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; BOOL GetX509ObjectString(X509 *Certificate, unsigned char *ASN1, unsigned&lt;BR&gt;&amp;gt; char *Short, unsigned char *Description, unsigned char *Buffer, unsigned&lt;BR&gt;&amp;gt; long BufSize)&lt;BR&gt;&amp;gt; {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X509_EXTENSION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Extension;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nid;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Position;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASN1_STRING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Value;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *OrgPtr;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!Buffer) {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(FALSE);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Buffer[0]='\0';&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nid = OBJ_create(ASN1, Short, Description);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Position=X509_get_ext_by_NID(Certificate, nid, -1);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Position==-1) {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(FALSE);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp; Extension=X509_get_ext(Certificate, Position);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp; if (!Extension) {&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(FALSE);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* The M_d2i function alters the pointer, so keep a copy */&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrgPtr=Extension-&amp;gt;value-&amp;gt;data; //This is the point of crash. Referencing&lt;BR&gt;&amp;gt; data member seems to be causing the crash&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value=M_d2i_ASN1_IA5STRING(NULL, &amp;amp;(Extension-&amp;gt;value-&amp;gt;data),&lt;BR&gt;&amp;gt; Extension-&amp;gt;value-&amp;gt;length);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extension-&amp;gt;value-&amp;gt;data=OrgPtr;&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strncpy(Buffer, Value-&amp;gt;data, min(Value-&amp;gt;length+1, BufSize));&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Buffer[min(Value-&amp;gt;length+1, BufSize)-1]='\0';&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASN1_STRING_free(Value);&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(TRUE);&lt;BR&gt;&amp;gt; }&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Appreciate any kind of help on this is greatly appreciated.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Thanks &amp;amp; Regards,&lt;BR&gt;&amp;gt; Sanjay.&lt;/div&gt;______________________________________________________________________&lt;BR&gt;OpenSSL Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/A&gt;&lt;BR&gt;User Support Mailing List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;&lt;BR&gt;Automated List Manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524394&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Application-crashes-when-trying-to-access-X509-Certificate-Extension-returned-by-X509_get_ext-method-tp26467217p26524394.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26522760</id>
	<title>Re: Add new crypto algorithm into Openssl</title>
	<published>2009-11-25T16:38:05Z</published>
	<updated>2009-11-25T16:38:05Z</updated>
	<author>
		<name>Gloria Lee</name>
	</author>
	<content type="html">Thanks for reply....
&lt;br&gt;Now I'm adding it by myself , 
&lt;br&gt;I'm just coping AES mechanism, and
&lt;br&gt;Now It's very hard to register NID of new algorithm... (crypto/objects/obj_dat.h, obj_mac.h files)
&lt;br&gt;Is there anyone who knows about this??!!!
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Mystic Boy wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Gloria Lee wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;I wanna ask something...
&lt;br&gt;Im trying to add crypto algorithm into Openssl, 
&lt;br&gt;I heard about the engine(ccgost), and read the README.txt file, but I don't understand
&lt;br&gt;how to do it.. 
&lt;br&gt;I wonder If I add my own algorithm, Do I just copy ccgost pattern? or have to change 
&lt;br&gt;entire openssl core source??..
&lt;br&gt;Besides that, I want to know how to use ccgost engine, It's very hard for me.
&lt;br&gt;Thanks,... :)
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Hi,
&lt;br&gt;I am also trying to add new crypto algo. to the crypto library. But didn't succeed. I explored OpenSSL/crypto library, it's different algo. has dependencies on different files.
&lt;br&gt;I am looking forward for help
&lt;br&gt;&lt;br&gt;Thanks:
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Add-new-crypto-algorithm-into-Openssl-tp26488823p26522760.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533934</id>
	<title>Help with error - hardware capability unsupported SSE2</title>
	<published>2009-11-25T15:31:30Z</published>
	<updated>2009-11-25T15:31:30Z</updated>
	<author>
		<name>Chris Copeland-3</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hello All,&lt;br&gt;
&lt;br&gt;
I am building and packaging the following on one machine (the &amp;quot;build&amp;quot;&lt;br&gt;
machine) and attempting to install and use on other machines (&amp;quot;target&amp;quot;&lt;br&gt;
machines) some of which have different processors.&lt;br&gt;
&lt;br&gt;
* OpenSSL 0.9.8l&lt;br&gt;
* Apache 2.2.14&lt;br&gt;
* Tomcat Connectors 1.2.28&lt;br&gt;
&lt;br&gt;
The problem, as far as I can tell, is that the build machine has more&lt;br&gt;
CPU capabilities than the target machine resulting in binaries that&lt;br&gt;
are not executable on the target machine.  I have attempted to use&lt;br&gt;
configure and compiler flags to disable use of the offending&lt;br&gt;
instructions without luck.&lt;br&gt;
&lt;br&gt;
Ultimately I get this error:&lt;br&gt;
&lt;br&gt;
$ ./apachectl start httpd: Syntax error on line 58 of&lt;br&gt;
/usr/local/apache-2.2.14/conf/httpd.conf: Cannot load&lt;br&gt;
/usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: httpd:&lt;br&gt;
fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware capability&lt;br&gt;
unsupported: 0x1000 [ SSE2 ]&lt;br&gt;
&lt;br&gt;
Here is my complete build process with links to the full output&lt;br&gt;
generated by each command.&lt;br&gt;
&lt;br&gt;
**The Build Machine**&lt;br&gt;
&lt;br&gt;
   $ echo $PATH&lt;br&gt;
   /usr/bin:/usr/ccs/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/sbin&lt;br&gt;
&lt;br&gt;
   $ isainfo -v&lt;br&gt;
   32-bit i386 applications&lt;br&gt;
           pause sse2 sse fxsr mmx cmov sep cx8 tsc fpu&lt;br&gt;
&lt;br&gt;
   $ uname -a&lt;br&gt;
   SunOS bsiausstgdb02 5.10 Generic_120012-14 i86pc i386 i86pc&lt;br&gt;
&lt;br&gt;
**The Target Machine**&lt;br&gt;
&lt;br&gt;
   $ isainfo -v&lt;br&gt;
   32-bit i386 applications&lt;br&gt;
           sse fxsr mmx cmov sep cx8 tsc fpu&lt;br&gt;
&lt;br&gt;
   $ uname -a&lt;br&gt;
   SunOS bsiausdevweb01 5.10 Generic_120012-14 i86pc i386 i86pc&lt;br&gt;
&lt;br&gt;
**Compile OpenSSL 0.9.8l**&lt;br&gt;
&lt;br&gt;
   $ CC=/usr/bin/cc&lt;br&gt;
   $ export CC&lt;br&gt;
&lt;br&gt;
   $ CFLAGS=&amp;quot;-xarch=sse&amp;quot;&lt;br&gt;
   $ export CFLAGS&lt;br&gt;
&lt;br&gt;
   $ ./Configure \&lt;br&gt;
   solaris-x86-cc \&lt;br&gt;
   shared \&lt;br&gt;
   no-asm \&lt;br&gt;
   no-sse2 \&lt;br&gt;
   -xarch=sse \&lt;br&gt;
   --openssldir=/usr/local/openssl-0.9.8l&lt;br&gt;
&lt;br&gt;
view full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/openssl-configure.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/openssl-configure.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
   $ make &amp;amp;&amp;amp; make test&lt;br&gt;
&lt;br&gt;
view full output&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/openssl-make-and-test.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/openssl-make-and-test.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
   $ sudo make install&lt;br&gt;
&lt;br&gt;
view full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/openssl-make-install.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/openssl-make-install.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
**Compile Apache 2.2.14**&lt;br&gt;
&lt;br&gt;
   $ CC=/usr/bin/cc&lt;br&gt;
   $ export CC&lt;br&gt;
&lt;br&gt;
   $ CFLAGS=&amp;quot;-xarch=sse&amp;quot;&lt;br&gt;
   $ export CFLAGS&lt;br&gt;
&lt;br&gt;
   $ ./configure \&lt;br&gt;
   --prefix=/usr/local/apache-2.2.14 \&lt;br&gt;
   --with-mpm=prefork \&lt;br&gt;
   --enable-so \&lt;br&gt;
   --enable-unique-id=shared \&lt;br&gt;
   --enable-rewrite=shared \&lt;br&gt;
   --enable-spelling=shared \&lt;br&gt;
   --enable-info=shared \&lt;br&gt;
   --enable-headers=shared \&lt;br&gt;
   --enable-deflate=shared \&lt;br&gt;
   --enable-expires=shared \&lt;br&gt;
   --enable-unique-id=shared \&lt;br&gt;
   --enable-speling=shared \&lt;br&gt;
   --enable-ssl=shared \&lt;br&gt;
   --with-ssl=/usr/local/openssl&lt;br&gt;
&lt;br&gt;
full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/apache-configure.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/apache-configure.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
   $ make&lt;br&gt;
&lt;br&gt;
full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/apache-make.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/apache-make.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
   $ sudo make install&lt;br&gt;
&lt;br&gt;
full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/apache-make-install.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/apache-make-install.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
**Compile Tomcat Connectors 1.2.28**&lt;br&gt;
&lt;br&gt;
   $ CC=/usr/bin/cc&lt;br&gt;
   $ export CC&lt;br&gt;
&lt;br&gt;
   $ CFLAGS=&amp;quot;-xarch=sse&amp;quot;&lt;br&gt;
   $ export CFLAGS&lt;br&gt;
&lt;br&gt;
   $ cd native&lt;br&gt;
   $ ./configure \&lt;br&gt;
   --with-apxs=/usr/local/apache2/bin/apxs&lt;br&gt;
&lt;br&gt;
full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/tomcat-connector-configure.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/tomcat-connector-configure.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
   $ make&lt;br&gt;
&lt;br&gt;
full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/tomcat-connector-make.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/tomcat-connector-make.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
   $ sudo make install&lt;br&gt;
&lt;br&gt;
full output:&lt;br&gt;
&lt;a href=&quot;http://sites.google.com/site/gchris/home/a/tomcat-connector-make-install.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sites.google.com/site/gchris/home/a/tomcat-connector-make-install.txt&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
**Testing**&lt;br&gt;
&lt;br&gt;
At this point everything will work on the build machine.  Once I&lt;br&gt;
package these files and install them on the target machine, I get this&lt;br&gt;
error when Apache is started with mod_ssl enabled.&lt;br&gt;
&lt;br&gt;
$ ./apachectl start&lt;br&gt;
httpd: Syntax error on line 58 of&lt;br&gt;
/usr/local/apache-2.2.14/conf/httpd.conf: Cannot load&lt;br&gt;
/usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: httpd:&lt;br&gt;
fatal: /usr/local/openssl/lib/libssl.so.0.9.8: hardware capability&lt;br&gt;
unsupported: 0x1000  [ SSE2 ]&lt;br&gt;
&lt;br&gt;
-Chris&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-with-error---hardware-capability-unsupported-SSE2-tp26533934p26533934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533920</id>
	<title>RE: General question about documentation</title>
	<published>2009-11-25T15:13:38Z</published>
	<updated>2009-11-25T15:13:38Z</updated>
	<author>
		<name>Will Bickford</name>
	</author>
	<content type="html">IMO a wiki would be a great resource for both developers and users of
&lt;br&gt;OpenSSL.
&lt;br&gt;&lt;br&gt;Something along the lines of the Subversion Book - an online reference
&lt;br&gt;&amp;quot;book&amp;quot; for OpenSSL.
&lt;br&gt;&lt;br&gt;--Will
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533920&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533920&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-openssl-users@...&lt;/a&gt;] On Behalf Of Mark
&lt;br&gt;&amp;gt; Sent: Wednesday, November 25, 2009 3:27 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533920&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: General question about documentation
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I would like to post a general observation regarding users of the 
&lt;br&gt;&amp;gt; &amp;gt; OpenSSL toolkit.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [snip stuff about documentation]]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; A long time ago it was suggested to use a wiki for this 
&lt;br&gt;&amp;gt; purpose. Can this idea be resurrected?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mark.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;&amp;gt; User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533920&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533920&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;______________________________________________________________________
&lt;br&gt;OpenSSL Project &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.openssl.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openssl.org&lt;/a&gt;&lt;br&gt;User Support Mailing List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533920&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openssl-users@...&lt;/a&gt;
&lt;br&gt;Automated List Manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533920&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/OpenSSL---User-f981.html&quot; embed=&quot;fixTarget[981]&quot; target=&quot;_top&quot; &gt;OpenSSL - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-started---d2i_PKCS12_fp-tp26374160p26533920.html" />
</entry>

</feed>
