branch | s11-update |
changeset 3066 | 07964fc8b408 |
parent 3065 | 53e904a2c22e |
child 3067 | 61e6cd945591 |
3065:53e904a2c22e | 3066:07964fc8b408 |
---|---|
1 Index: openssl/ssl/t1_enc.c |
|
2 ============================================================================ |
|
3 $ diff -ru ssl/t1_enc.c ssl/t1_enc.c |
|
4 --- t1_enc.c.orig Tue Dec 10 15:36:05 2013 |
|
5 +++ t1_enc.c Wed Dec 11 09:29:02 2013 |
|
6 @@ -986,7 +986,10 @@ |
|
7 } |
|
8 else |
|
9 { |
|
10 - EVP_MD_CTX_copy(&hmac,hash); |
|
11 + if (EVP_MD_CTX_copy(&hmac,hash) != 1) |
|
12 + { |
|
13 + return (0); |
|
14 + } |
|
15 mac_ctx = &hmac; |
|
16 } |
|
17 |