<div dir="ltr"><div>On Fri, Apr 17, 2015 at 3:32 PM, Petr Spacek <span dir="ltr"><<a href="mailto:pspacek@redhat.com" target="_blank">pspacek@redhat.com</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Tests are passing for me on Fedora 22 with hand-compiled OpenSSL 1.0.2a.<br>
<br>
The only thing I had to do was to hack m4/acx_openssl_rfc5649.m4 to disable<br>
RFC 5649 support because it is not present in OpenSSL 1.0.2a and this check<br>
ignores --with-openssl configure parameter.<br>
<br>
I'm not an Autotools expert so I'm not able to write proper fix, sorry!</blockquote><div><br></div><div>The configuration works for me:</div><div><br></div><div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px"><div>$ /usr/local/ssl/bin/openssl version</div><div>OpenSSL 1.0.2a 19 Mar 2015</div></div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px"><br></div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">$ ../configure --disable-non-paged-memory --with-objectstore-backend-db --with-migrate --with-crypto-backend=openssl --with-openssl=/usr/local/ssl</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">...</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking what are the OpenSSL includes... -I/usr/local/ssl/include</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking what are the OpenSSL libs... -L/usr/local/ssl/lib -lcrypto</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking openssl/ssl.h usability... yes</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking openssl/ssl.h presence... yes</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking for openssl/ssl.h... yes</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking for BN_init in -lcrypto... yes</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking for OpenSSL version... >= 1.0.0</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking for OpenSSL ECC support... Found P256 and P384</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking for OpenSSL GOST support... Found GOST engine</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking OpenSSL EVP interface for AES key wrapping... RFC 3394 is supported</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">checking OpenSSL EVP interface for AES key wrapping with pad... RFC 5649 is not supported</div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">…</div></div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px"><br></div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">There was however an error introduced when renaming the variables. Should be fixed in <a href="https://github.com/opendnssec/SoftHSMv2/pull/120">https://github.com/opendnssec/SoftHSMv2/pull/120</a></div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px"><br></div><div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">// Rickard</div></div></div></div>