#14465: Update openssl to tag android-4.0.4_r2.1
diff --git a/jni/openssl/crypto/evp/bio_md.c b/jni/openssl/crypto/evp/bio_md.c
index 144fdfd..9841e32 100644
--- a/jni/openssl/crypto/evp/bio_md.c
+++ b/jni/openssl/crypto/evp/bio_md.c
@@ -153,12 +153,8 @@
 		{
 		if (ret > 0)
 			{
-			if (!EVP_DigestUpdate(ctx,(const unsigned char *)in,
-				(unsigned int)ret))
-				{
-				BIO_clear_retry_flags(b);
-				return 0;
-				}
+			EVP_DigestUpdate(ctx,(const unsigned char *)in,
+				(unsigned int)ret);
 			}
 		}
 	if(b->next_bio != NULL)
@@ -224,8 +220,7 @@
 	case BIO_CTRL_DUP:
 		dbio=ptr;
 		dctx=dbio->ptr;
-		if (!EVP_MD_CTX_copy_ex(dctx,ctx))
-			return 0;
+		EVP_MD_CTX_copy_ex(dctx,ctx);
 		b->init=1;
 		break;
 	default: