add patch do-not-advertise-encryption-support-when-disabled