This website works better with JavaScript.
Home
Explore
Help
Sign In
kris
/
boringssl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
ssl/t1_enc.c: check EVP_MD_CTX_copy return value.
PR: 3201 (Imported from upstream's
8d08627c94
)
kris/onging/CECPQ3_patch15
Adam Langley
10 years ago
parent
c83b1ceae2
commit
9f61d7f4a1
1 changed files
with
2 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
ssl/t1_enc.c
+ 2
- 1
ssl/t1_enc.c
View File
@@ -1221,7 +1221,8 @@ int tls1_mac(SSL *ssl, unsigned char *md, int send)
}
}
else
else
{
{
EVP_MD_CTX_copy(&hmac,hash);
if (!EVP_MD_CTX_copy(&hmac,hash))
return -1;
mac_ctx = &hmac;
mac_ctx = &hmac;
}
}
Write
Preview
Loading…
Cancel
Save