Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 559446 Details for
Bug 674318
app-arch/dump-0.4.46 with dev-libs/openssl-1.1.x - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
newssl.patch (text/plain), 795 bytes, created by
Jiri Netolicky
on 2019-01-02 10:34:58 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jiri Netolicky
Created:
2019-01-02 10:34:58 UTC
Size:
795 bytes
patch
obsolete
>diff -Naur dump-0.4b46/common/transformation_ssl.c dump-0.4b46-new/common/transformation_ssl.c >--- dump-0.4b46/common/transformation_ssl.c 2016-06-08 07:01:45.000000000 +0200 >+++ dump-0.4b46-new/common/transformation_ssl.c 2019-01-02 11:26:15.945017945 +0100 >@@ -215,7 +215,7 @@ > /* to be exposed to any attacker anyway. */ > *saltlen = 16; > if (xform->enc == 1) { >- RAND_pseudo_bytes(salt, *saltlen); >+ RAND_bytes(salt, *saltlen); > } > memcpy(ivbuffer, salt, 16); > >@@ -515,7 +515,7 @@ > //EVP_CIPHER_CTX_rand_key(ctx, t->state.ssl.key); > //EVP_CIPHER_CTX_cleanup(ctx); > //EVP_CIPHER_CTX_free(ctx); >- RAND_bytes(t->state.ssl.key, t->state.ssl.cipher->key_len); >+ RAND_bytes(t->state.ssl.key, EVP_CIPHER_key_length(t->state.ssl.cipher)); > } else { > // how do we get keys? > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 674318
:
559442
| 559446 |
575428