Check for out of memory in ykclient_generate_nonce().