логика препроцессора, для pq

This commit is contained in:
user
2026-06-08 12:05:03 +00:00
parent a3e8777c7e
commit 3b5bd67ba7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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;