[PATCH 4.19 070/109] cfg80211: make certificate generation more robust