mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-04 19:49:56 +00:00
логика препроцессора, для pq
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#if OPENSSL_PQ
|
||||
|
||||
#if !LIBRESSL
|
||||
#ifndef LIBRESSL_VERSION_NUMBER
|
||||
# include <openssl/param_build.h>
|
||||
# include <openssl/core_names.h>
|
||||
# warning like you use openssl
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <tuple>
|
||||
#include "Crypto.h"
|
||||
#include "Identity.h"
|
||||
#if LIBRESSL
|
||||
#ifdef LIBRESSL_VERSION_NUMBER
|
||||
# include <openssl/mlkem.h>
|
||||
#endif
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace crypto
|
||||
void FreeKeys(void);
|
||||
const std::string m_Name;
|
||||
const size_t m_KeyLen, m_CTLen;
|
||||
#if !LIBRESSL
|
||||
#ifndef LIBRESSL_VERSION_NUMBER
|
||||
EVP_PKEY * m_Pkey;
|
||||
#else
|
||||
MLKEM_private_key * m_Pkey;
|
||||
|
||||
Reference in New Issue
Block a user