OpenSSL ABI change 20150612

mancha mancha1 at zoho.com
Fri Jun 12 16:00:21 AEST 2015


Hi Folks.

Today's OpenSSL releases 1.0.1n and 1.0.2b introduce ABI gremlins.
Specifically, the HMAC_CTX stucture has a new "key_init" field of type
integer:

  --- a/crypto/hmac/hmac.h
  +++ b/crypto/hmac/hmac.h
  @@ -75,6 +75,7 @@ typedef struct hmac_ctx_st {
       EVP_MD_CTX o_ctx;
       unsigned int key_length;
       unsigned char key[HMAC_MAX_MD_CBLOCK];
  +    int key_init;
   } HMAC_CTX;


This issue was identified by Dan McDonald of OmniOS (an illumos
distribution) after their version of SSH (based on OpenSSH) broke. [1]

I've quickly reviewed things in OpenSSH and it seems to impact versions
4.7 through 6.5 inclusive (kex.h,v 1.62 makes it a NOP [2]).

Just a friendly heads up...

--mancha

---
[1] http://marc.info/?l=openssl-dev&m=143407129721271&w=2
[2] http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/kex.h.diff?r1=1.61&r2=1.62
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20150612/030c316e/attachment.bin>


More information about the openssh-unix-dev mailing list