Branch: Tag:

2015-07-30

2015-07-30 22:27:14 by Martin Nilsson <nilsson@fastmail.com>

Hash can work on Stdio.Buffer objects directly.

162:    }    return session->cipher_spec->prf(session->master_secret, sender,    session->cipher_spec->hash -  ->hash((string(8bit))handshake_messages), +  ->hash(handshake_messages),    len || 12);   }   
184:    session->cipher_spec->sign(session,    signature_context +    session->cipher_spec->hash -  ->hash((string(8bit))handshake_messages), +  ->hash(handshake_messages),    struct);    } else {    session->cipher_spec->sign(session, (string(8bit))handshake_messages, struct);