mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 18:50:27 +09:00
Fix config.h includes
We need stdlib.h and string.h in priv.h for free() and memset(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
2
src/external/bcrypt_pbkdf.c
vendored
2
src/external/bcrypt_pbkdf.c
vendored
@@ -19,6 +19,8 @@
|
||||
|
||||
#ifndef HAVE_BCRYPT_PBKDF
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/wrapper.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
2
src/external/fe25519.c
vendored
2
src/external/fe25519.c
vendored
@@ -4,6 +4,8 @@
|
||||
* Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define WINDOWSIZE 1 /* Should be 1,2, or 4 */
|
||||
#define WINDOWMASK ((1<<WINDOWSIZE)-1)
|
||||
|
||||
|
||||
2
src/external/ge25519.c
vendored
2
src/external/ge25519.c
vendored
@@ -6,6 +6,8 @@
|
||||
* Copied from supercop-20130419/crypto_sign/ed25519/ref/ge25519.c
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libssh/fe25519.h"
|
||||
#include "libssh/sc25519.h"
|
||||
#include "libssh/ge25519.h"
|
||||
|
||||
2
src/external/sc25519.c
vendored
2
src/external/sc25519.c
vendored
@@ -4,6 +4,8 @@
|
||||
* Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/sc25519.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user