Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcus Hoffmann
nettle
Commits
ec593a78
Commit
ec593a78
authored
11 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Deleted HAVE_LIBGMP conditionals.
parent
4fd3dd3e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
der-iterator.c
+3
-4
3 additions, 4 deletions
der-iterator.c
with
7 additions
and
4 deletions
ChangeLog
+
4
−
0
View file @
ec593a78
2014-06-25 Niels Möller <nisse@lysator.liu.se>
* der-iterator.c: Deleted HAVE_LIBGMP conditionals.
2014-06-07 Niels Möller <nisse@lysator.liu.se>
2014-06-07 Niels Möller <nisse@lysator.liu.se>
* Released nettle-3.0
* Released nettle-3.0
...
...
This diff is collapsed.
Click to expand it.
der-iterator.c
+
3
−
4
View file @
ec593a78
...
@@ -38,9 +38,7 @@
...
@@ -38,9 +38,7 @@
#include
<assert.h>
#include
<assert.h>
#include
<stdlib.h>
#include
<stdlib.h>
#if HAVE_LIBGMP
#include
"bignum.h"
#include
"bignum.h"
#endif
#include
"asn1.h"
#include
"asn1.h"
...
@@ -254,7 +252,9 @@ asn1_der_get_uint32(struct asn1_der_iterator *i,
...
@@ -254,7 +252,9 @@ asn1_der_get_uint32(struct asn1_der_iterator *i,
return
1
;
return
1
;
}
}
#if HAVE_LIBGMP
/* NOTE: This is the only function in this file which needs bignums.
One could split this file in two, one in libnettle and one in
libhogweed. */
int
int
asn1_der_get_bignum
(
struct
asn1_der_iterator
*
i
,
asn1_der_get_bignum
(
struct
asn1_der_iterator
*
i
,
mpz_t
x
,
unsigned
max_bits
)
mpz_t
x
,
unsigned
max_bits
)
...
@@ -277,4 +277,3 @@ asn1_der_get_bignum(struct asn1_der_iterator *i,
...
@@ -277,4 +277,3 @@ asn1_der_get_bignum(struct asn1_der_iterator *i,
return
1
;
return
1
;
}
}
#endif
/* HAVE_LIBGMP */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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