Return a fatal error if an attempt is made to use a zero length master secret. (cherry picked from commit 006cd708)