TLSv1.2 fix