FreeBSD Bugzilla – Attachment 210203 Details for
Bug 242861
Sendmail's STARTTLS broken for 12.1-RELEASE/12.0-RELEASE/12-STABLE/HEAD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
tls.c::sm_RSA_generate_key() patch, simpler version
patch-SENDMAIL-BROKENTLS (text/plain), 692 bytes, created by
Dan Lukes
on 2019-12-24 16:03:13 UTC
(
hide
)
Description:
tls.c::sm_RSA_generate_key() patch, simpler version
Filename:
MIME Type:
Creator:
Dan Lukes
Created:
2019-12-24 16:03:13 UTC
Size:
692 bytes
patch
obsolete
>--- contrib/sendmail/src/tls.c.x 2019-12-24 14:57:21.569610000 +0100 >+++ contrib/sendmail/src/tls.c 2019-12-24 16:54:56.641565000 +0100 >@@ -745,18 +745,15 @@ > { > RSA *rsa = NULL; > BIGNUM *bn_rsa_r4; >- int rc; > > bn_rsa_r4 = BN_new(); >- rc = BN_set_word(bn_rsa_r4, RSA_F4); >- if ((bn_rsa_r4 != NULL) && BN_set_word(bn_rsa_r4, RSA_F4) && (rsa = RSA_new()) != NULL) >+ if ((bn_rsa_r4 != NULL) && BN_set_word(bn_rsa_r4, e) && (rsa = RSA_new()) != NULL) > { >- if (!RSA_generate_key_ex(rsa, RSA_KEYLENGTH, bn_rsa_r4, NULL)) >+ if (!RSA_generate_key_ex(rsa, num, bn_rsa_r4, NULL)) > { > RSA_free(rsa); > rsa = NULL; > } >- return NULL; > } > BN_free(bn_rsa_r4); > return rsa;
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 242861
:
210201
| 210203