mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
set use_ssl flag
This commit is contained in:
parent
b7a0f2db57
commit
f71e97511b
@ -1,4 +1,9 @@
|
||||
#include <Common/config.h>
|
||||
#if !defined(ARCADIA_BUILD)
|
||||
# include <Common/config.h>
|
||||
#endif
|
||||
|
||||
#if USE_SSL
|
||||
|
||||
#include <Interpreters/Context.h>
|
||||
|
||||
#include "Disks/DiskFactory.h"
|
||||
@ -179,3 +184,6 @@ void registerDiskEncrypted(DiskFactory & factory)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#if USE_SSL
|
||||
|
||||
#include <Disks/IDisk.h>
|
||||
#include <Disks/DiskDecorator.h>
|
||||
#include <IO/ReadBufferFromFileBase.h>
|
||||
@ -242,3 +244,6 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -13,7 +13,9 @@ void registerDiskMemory(DiskFactory & factory);
|
||||
#if USE_AWS_S3
|
||||
void registerDiskS3(DiskFactory & factory);
|
||||
#endif
|
||||
#if USE_SSL
|
||||
void registerDiskEncrypted(DiskFactory & factory);
|
||||
#endif
|
||||
|
||||
void registerDisks()
|
||||
{
|
||||
@ -24,7 +26,9 @@ void registerDisks()
|
||||
#if USE_AWS_S3
|
||||
registerDiskS3(factory);
|
||||
#endif
|
||||
#if USE_SSL
|
||||
registerDiskEncrypted(factory);
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <fstream>
|
||||
#if USE_SSL
|
||||
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/engine.h>
|
||||
@ -326,3 +326,6 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#if USE_SSL
|
||||
|
||||
#include <IO/ReadBufferFromFileBase.h>
|
||||
#include <IO/WriteBufferFromFileBase.h>
|
||||
#include <Functions/FileEncryption.h>
|
||||
@ -116,3 +118,6 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#if USE_SSL
|
||||
|
||||
#include <IO/WriteBufferFromFileBase.h>
|
||||
#include <Functions/FileEncryption.h>
|
||||
|
||||
@ -78,3 +80,6 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user