def client_random(self):
session = _lib.SSL_get_session(self._ssl)<EOL>if session == _ffi.NULL:<EOL><INDENT>return None<EOL><DEDENT>length = _lib.SSL_get_client_random(self._ssl, _ffi.NULL, <NUM_LIT:0>)<EOL>assert length > <NUM_LIT:0><EOL>outp = _no_zero_allocator("<STR_LIT>", length)<EOL>_lib.SSL_get_client_random(self._ssl, outp, length)<EOL>return _ffi.buffer(outp, length)[:]<EOL>
Retrieve the random value used with the client hello message.

:return: A string representing the state