Eliminating sgen assert info-doing_handshake check