ssl/t1_enc.c: check EVP_MD_CTX_copy return value.

PR: 3201

(Imported from upstream's 8d08627c940900998d02a0dff0566db736efb94f)
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index 72dbee3..95ecfaa 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -1221,7 +1221,8 @@
 		}
 		else
 		{
-			EVP_MD_CTX_copy(&hmac,hash);
+			if (!EVP_MD_CTX_copy(&hmac,hash))
+				return -1;
 			mac_ctx = &hmac;
 		}