Skip to content

Commit a7937ae

Browse files
committed
fix linting errors
1 parent 70595c7 commit a7937ae

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

include/ncrypto.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,15 +1363,15 @@ bool SafeX509InfoAccessPrint(const BIOPointer& out, X509_EXTENSION* ext);
13631363
// ============================================================================
13641364
// SPKAC
13651365

1366-
[[deprecated("Use the version that takes a Buffer")]]
1367-
bool VerifySpkac(const char* input, size_t length);
1366+
[[deprecated("Use the version that takes a Buffer")]] bool VerifySpkac(
1367+
const char* input, size_t length);
13681368

1369-
[[deprecated("Use the version that takes a Buffer")]]
1370-
BIOPointer ExportPublicKey(const char* input, size_t length);
1369+
[[deprecated("Use the version that takes a Buffer")]] BIOPointer
1370+
ExportPublicKey(const char* input, size_t length);
13711371

13721372
// The caller takes ownership of the returned Buffer<char>
1373-
[[deprecated("Use the version that takes a Buffer")]]
1374-
Buffer<char> ExportChallenge(const char* input, size_t length);
1373+
[[deprecated("Use the version that takes a Buffer")]] Buffer<char>
1374+
ExportChallenge(const char* input, size_t length);
13751375

13761376
bool VerifySpkac(const Buffer<const char>& buf);
13771377
BIOPointer ExportPublicKey(const Buffer<const char>& buf);

src/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
add_library(ncrypto ncrypto.cpp engine.cpp)
2-
target_link_libraries(ncrypto boringssl)
2+
target_link_libraries(ncrypto boringssl)
33

4-
target_include_directories(
5-
ncrypto PUBLIC $<BUILD_INTERFACE : ${PROJECT_SOURCE_DIR} / include>
6-
$<BUILD_INTERFACE : ${CMAKE_CURRENT_SOURCE_DIR} / include>
7-
$<BUILD_INTERFACE : ${CMAKE_SOURCE_DIR}>
8-
$<BUILD_INTERFACE : ${boringssl_SOURCE_DIR} / include>)
4+
target_include_directories(ncrypto
5+
PUBLIC
6+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
7+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
8+
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}>
9+
$<BUILD_INTERFACE:${boringssl_SOURCE_DIR}/include>
10+
)

0 commit comments

Comments
 (0)