Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
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
pikelang
pike
Commits
2d30d343
Commit
2d30d343
authored
Dec 8, 2014
by
Bill Welliver
Browse files
Options
Downloads
Patches
Plain Diff
windows: need stdint.h for uint*
parent
1aeb9a8d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/post_modules/Nettle/mac.cmod
+4
-0
4 additions, 0 deletions
src/post_modules/Nettle/mac.cmod
src/post_modules/Nettle/nettle.cmod
+4
-0
4 additions, 0 deletions
src/post_modules/Nettle/nettle.cmod
src/post_modules/Nettle/nettle.h
+22
-19
22 additions, 19 deletions
src/post_modules/Nettle/nettle.h
with
30 additions
and
19 deletions
src/post_modules/Nettle/mac.cmod
+
4
−
0
View file @
2d30d343
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
DECLARATIONS
DECLARATIONS
#ifdef HAVE_STDINT_H
#include
<stdint.h>
#endif
/* HAVE_STDINT_H */
#include
"nettle.h"
#include
"nettle.h"
#ifdef HAVE_NETTLE_POLY1305_H
#ifdef HAVE_NETTLE_POLY1305_H
...
...
This diff is collapsed.
Click to expand it.
src/post_modules/Nettle/nettle.cmod
+
4
−
0
View file @
2d30d343
...
@@ -22,6 +22,10 @@
...
@@ -22,6 +22,10 @@
#include
<stdio.h>
#include
<stdio.h>
#include
<stdarg.h>
#include
<stdarg.h>
#ifdef HAVE_STDINT_H
#include
<stdint.h>
#endif
/* HAVE_STDINT_H */
DECLARATIONS
DECLARATIONS
/*! @module Nettle
/*! @module Nettle
...
...
This diff is collapsed.
Click to expand it.
src/post_modules/Nettle/nettle.h
+
22
−
19
View file @
2d30d343
...
@@ -58,16 +58,19 @@ typedef nettle_hash_digest_func pike_nettle_hash_digest_func;
...
@@ -58,16 +58,19 @@ typedef nettle_hash_digest_func pike_nettle_hash_digest_func;
typedef
nettle_hash_update_func
pike_nettle_hash_update_func
;
typedef
nettle_hash_update_func
pike_nettle_hash_update_func
;
#else
#else
/* Nettle 2.0 */
/* Nettle 2.0 */
typedef
void
(
*
pike_nettle_crypt_func
)(
void
*
ctx
,
unsigned
length
,
uint8_t
*
dst
,
const
uint8_t
*
src
);
typedef
void
(
*
pike_nettle_hash_digest_func
)(
void
*
ctx
,
unsigned
length
,
uint8_t
*
dst
);
typedef
void
(
*
pike_nettle_hash_update_func
)(
void
*
ctx
,
unsigned
length
,
const
uint8_t
*
src
);
#ifdef dsa_params_init
/* Nettle 3.0 */
/* Nettle 3.0 */
typedef
nettle_cipher_func
*
pike_nettle_crypt_func
;
#else
typedef
nettle_crypt_func
*
pike_nettle_crypt_func
;
#endif
typedef
nettle_hash_digest_func
*
pike_nettle_hash_digest_func
;
typedef
nettle_hash_update_func
*
pike_nettle_hash_update_func
;
#endif
#endif
...
...
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