diff --git a/src/cpp/Crypto/KeyPairEd25519.cpp b/src/cpp/Crypto/KeyPairEd25519.cpp index d2204590a..64786a864 100644 --- a/src/cpp/Crypto/KeyPairEd25519.cpp +++ b/src/cpp/Crypto/KeyPairEd25519.cpp @@ -6,7 +6,7 @@ #include "../lib/DataTypeConverter.h" -#include "Passphrase.h" + KeyPairEd25519::KeyPairEd25519(MemoryBin* privateKey) : mSodiumSecret(privateKey) diff --git a/src/cpp/Crypto/KeyPairEd25519.h b/src/cpp/Crypto/KeyPairEd25519.h index 43922e11f..ccd14e673 100644 --- a/src/cpp/Crypto/KeyPairEd25519.h +++ b/src/cpp/Crypto/KeyPairEd25519.h @@ -14,8 +14,7 @@ #include "sodium.h" #include "AuthenticatedEncryption.h" - -class Passphrase; +#include "Passphrase.h" class KeyPairEd25519 : public IKeyPair {