Fix off-by-one errors in ssl_cipher_get_evp()
authorMiod Vallat <miod@openbsd.org>
Thu, 12 Jun 2014 20:25:07 +0000 (21:25 +0100)
committerMatt Caswell <matt@openssl.org>
Sun, 22 Jun 2014 22:26:33 +0000 (23:26 +0100)
commitb09db677d54800c236c9b4a5f3a877026ab876f7
tree4b7a6b668d1b1a341770609df5da4d051dd19a1f
parentcdc596567d61fb844a6e87b58c64aaf9fa0a4a2b
Fix off-by-one errors in ssl_cipher_get_evp()

    In the ssl_cipher_get_evp() function, fix off-by-one errors in index validation before accessing arrays.

    Bug discovered and fixed by Miod Vallat from the OpenBSD team.

    PR#3375
ssl/ssl_ciph.c