<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div><div>In a commit done in the last two days, definition of CRYPTO_lock() seems to have disappeared or moved. As a result, libp11 cannot compile on openssl-1.1-pre4:</div><div><br></div><div><p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);">p11_cert.c:50:3: <span style="font-variant-ligatures: no-common-ligatures; color: #ff40ff">warning: </span>implicit declaration of function 'CRYPTO_lock' is invalid in C99 [-Wimplicit-function-declaration]</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">                pkcs11_w_lock(cpriv->lockid);</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(45, 230, 33); background-color: rgb(0, 0, 0);">                ^</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures; color: #00f900">./libp11-int.h:142:11: </span><span style="font-variant-ligatures: no-common-ligatures; color: #828282">note: </span>expanded from macro 'pkcs11_w_lock'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">        if(type) CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(45, 230, 33); background-color: rgb(0, 0, 0);">                 ^</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);">p11_cert.c:50:3: <span style="font-variant-ligatures: no-common-ligatures; color: #ff3b1d">error: </span>use of undeclared identifier 'CRYPTO_LOCK'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures; color: #00f900">./libp11-int.h:142:23: </span><span style="font-variant-ligatures: no-common-ligatures; color: #828282">note: </span>expanded from macro 'pkcs11_w_lock'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">        if(type) CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(45, 230, 33); background-color: rgb(0, 0, 0);">                             ^</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);">p11_cert.c:50:3: <span style="font-variant-ligatures: no-common-ligatures; color: #ff3b1d">error: </span>use of undeclared identifier 'CRYPTO_WRITE'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures; color: #00f900">./libp11-int.h:142:35: </span><span style="font-variant-ligatures: no-common-ligatures; color: #828282">note: </span>expanded from macro 'pkcs11_w_lock'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">        if(type) CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(45, 230, 33); background-color: rgb(0, 0, 0);">                                         ^</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);">p11_cert.c:52:3: <span style="font-variant-ligatures: no-common-ligatures; color: #ff3b1d">error: </span>use of undeclared identifier 'CRYPTO_UNLOCK'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">                pkcs11_w_unlock(cpriv->lockid);</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(45, 230, 33); background-color: rgb(0, 0, 0);">                ^</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures; color: #00f900">./libp11-int.h:144:23: </span><span style="font-variant-ligatures: no-common-ligatures; color: #828282">note: </span>expanded from macro 'pkcs11_w_unlock'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">        if(type) CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(45, 230, 33); background-color: rgb(0, 0, 0);">                             ^</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(0, 249, 0); background-color: rgb(0, 0, 0);">p11_cert.c:52:3: <span style="font-variant-ligatures: no-common-ligatures; color: #ff3b1d">error: </span>use of undeclared identifier 'CRYPTO_WRITE'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures; color: #00f900">./libp11-int.h:144:37: </span><span style="font-variant-ligatures: no-common-ligatures; color: #828282">note: </span>expanded from macro 'pkcs11_w_unlock'</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">        if(type) CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(45, 230, 33); background-color: rgb(0, 0, 0);">                                           ^</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">1 warning and 4 errors generated.</p>
<p style="margin: 0px; font-size: 16px; font-family: Monaco; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">make[2]: *** [libp11_la-p11_cert.lo] Error 1</p></div><div><div>-- </div><div><div style="font-size: medium;">Regards,</div><div style="font-size: medium;">Uri Blumenthal</div></div></div></div></div></body></html>