mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Code cleanup - this should fix MacOS build
This commit is contained in:
parent
293950e247
commit
e548ae3815
@ -198,6 +198,9 @@ BigInteger RemotePassword::clientProof(const char* account, const char* salt, co
|
||||
return MakeProof(n1, n2, salt, sessionKey);
|
||||
}
|
||||
|
||||
RemotePassword::~RemotePassword()
|
||||
{ }
|
||||
|
||||
#if SRP_DEBUG > 0
|
||||
void dumpIt(const char* name, const Firebird::UCharBuffer& data)
|
||||
{
|
||||
|
@ -95,6 +95,7 @@ public:
|
||||
|
||||
public:
|
||||
RemotePassword();
|
||||
virtual ~RemotePassword();
|
||||
|
||||
static const char* plugName;
|
||||
static const unsigned SRP_KEY_SIZE = 128;
|
||||
|
@ -49,7 +49,6 @@
|
||||
#ifndef _SHA2_H
|
||||
#define _SHA2_H
|
||||
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#ifndef NIST_COMPLIANCY_TESTS
|
||||
#include "firebird.h"
|
||||
@ -147,11 +146,6 @@ public:
|
||||
sha_update(message, length);
|
||||
}
|
||||
|
||||
void process(const std::string& str)
|
||||
{
|
||||
process(str.length(), str.c_str());
|
||||
}
|
||||
|
||||
void process(const char* str)
|
||||
{
|
||||
process(strlen(str), str);
|
||||
|
Loading…
Reference in New Issue
Block a user