Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ETS OpenSSL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
CYBER - Cyber Security
TS 103 523 MSP
ETS
ETS OpenSSL
Commits
ee13f9b1
Commit
ee13f9b1
authored
26 years ago
by
Dr. Stephen Henson
Browse files
Options
Downloads
Patches
Plain Diff
Fix parameters to dummy function BN_ref_mod_exp().
parent
27eb622b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+4
-0
4 additions, 0 deletions
CHANGES
rsaref/rsaref.c
+3
-2
3 additions, 2 deletions
rsaref/rsaref.c
with
7 additions
and
2 deletions
CHANGES
+
4
−
0
View file @
ee13f9b1
...
...
@@ -5,6 +5,10 @@
Changes between 0.9.1c and 0.9.2
*) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
parameters. This was causing a warning which killed off the Win32 compile.
[Steve Henson]
*) Remove C++ style comments from crypto/bn/bn_local.h.
[Neil Costigan <neil.costigan@celocom.com>]
...
...
This diff is collapsed.
Click to expand it.
rsaref/rsaref.c
+
3
−
2
View file @
ee13f9b1
...
...
@@ -96,7 +96,7 @@ int RSA_ref_public_encrypt(int len, unsigned char *from,
unsigned
char
*
to
,
RSA
*
rsa
,
int
padding
);
int
RSA_ref_public_decrypt
(
int
len
,
unsigned
char
*
from
,
unsigned
char
*
to
,
RSA
*
rsa
,
int
padding
);
static
int
BN_ref_mod_exp
(
BIGNUM
*
r
,
BIGNUM
*
a
,
BIGNUM
*
p
,
BIGNUM
*
m
,
BN_CTX
*
ctx
);
static
int
BN_ref_mod_exp
(
BIGNUM
*
r
,
BIGNUM
*
a
,
BIGNUM
*
p
,
BIGNUM
*
m
,
BN_CTX
*
ctx
,
BN_MONT_CTX
*
m_ctx
);
static
int
RSA_ref_mod_exp
(
BIGNUM
*
r0
,
BIGNUM
*
I
,
RSA
*
rsa
);
#else
...
...
@@ -144,9 +144,10 @@ RSA *rsa;
return
(
0
);
}
static
int
BN_ref_mod_exp
(
r
,
a
,
p
,
m
,
ctx
)
static
int
BN_ref_mod_exp
(
r
,
a
,
p
,
m
,
ctx
,
m_ctx
)
BIGNUM
*
r
,
*
a
,
*
p
,
*
m
;
BN_CTX
*
ctx
;
BN_MONT_CTX
*
m_ctx
;
{
RSAREFerr
(
RSAREF_F_BN_REF_MOD_EXP
,
ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
);
return
(
0
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment