Bugzilla – Attachment 189 Details for
Bug 462
compile failure with openssl 0.9.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change BN_mod( . . . ) to BN_div(NULL, . . . .)
openssh-bn_mod-bn_div.patch (text/plain), 876 bytes, created by
Andreas Sundstrom
on 2003-01-03 01:00:30 AEDT
(
hide
)
Description:
Change BN_mod( . . . ) to BN_div(NULL, . . . .)
Filename:
MIME Type:
Creator:
Andreas Sundstrom
Created:
2003-01-03 01:00:30 AEDT
Size:
876 bytes
patch
obsolete
>--- rsa.c~ 2002-01-22 12:09:23.000000000 +0000 >+++ rsa.c 2003-01-02 13:45:54.000000000 +0000 >@@ -133,10 +133,10 @@ > fatal("rsa_generate_additional_parameters: BN_CTX_new failed"); > > BN_sub(aux, rsa->q, BN_value_one()); >- BN_mod(rsa->dmq1, rsa->d, aux, ctx); >+ BN_div(NULL, rsa->dmq1, rsa->d, aux, ctx); > > BN_sub(aux, rsa->p, BN_value_one()); >- BN_mod(rsa->dmp1, rsa->d, aux, ctx); >+ BN_div(NULL, rsa->dmp1, rsa->d, aux, ctx); > > BN_clear_free(aux); > BN_CTX_free(ctx); >--- auth-rsa.c~ 2002-06-11 15:47:42.000000000 +0000 >+++ auth-rsa.c 2003-01-02 13:47:22.000000000 +0000 >@@ -66,7 +66,7 @@ > BN_rand(challenge, 256, 0, 0); > if ((ctx = BN_CTX_new()) == NULL) > fatal("auth_rsa_generate_challenge: BN_CTX_new() failed"); >- BN_mod(challenge, challenge, key->rsa->n, ctx); >+ BN_div(NULL, challenge, challenge, key->rsa->n, ctx); > BN_CTX_free(ctx); > > return challenge;
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 462
: 189