Edit

IABSD.fr/src/lib/libssl

Branch :

  • Show log

    Commit

  • Author : jsing
    Date : 2022-01-04 12:53:31
    Hash : 9ccbb9b1
    Message : Return 0 on failure from send/get kex functions in the legacy stack. In the legacy stack, a message handling function returns -1 for failure, 0 for need more data and 1 for success (although in extra special cases 2 may also be used). However, the various send/get kex functions only need to indicate success or failure - switch these to return 0 on failure (rather than -1) and use normal result testing. This leaves GOST unchanged for now, as that code is special and needs extra work. ok inoguchi@ tb@