mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-07 21:05:21 +08:00
cb537a2aee
* [licensepp] Add new port * [cryptopp-pem] Update to a newer version that will make lincensepp happy * Revert "[cryptopp-pem] Update to a newer version that will make lincensepp happy" This reverts commit 726e3ce3d20bc6266bc7bf63cb35572fe297869f. This version can not compile with cryptopp. * [licensepp] Finish it * [licensepp] Fix interface include directory * [licensepp] Fixup cmake targets * [licensepp] -O3 is not recognised by msvc * [licensepp] Fix _iterator_debug_level value mismatch * [licensepp] Update patch file * [licensepp] Fail fast on UWP * [licensepp] Simplify patch file * [licensepp] Tabs -> Spaces
14 lines
572 B
Diff
14 lines
572 B
Diff
diff --git a/src/external/Ripe.cc b/src/external/Ripe.cc
|
|
index 6ff9561..a1d1eec 100644
|
|
--- a/src/external/Ripe.cc
|
|
+++ b/src/external/Ripe.cc
|
|
@@ -227,7 +227,7 @@ Ripe::KeyPair Ripe::generateRSAKeyPair(unsigned int length, const std::string& s
|
|
if (secret.empty()) {
|
|
PEM_Save(snk, privateKey);
|
|
} else {
|
|
- PEM_Save(snk, privateKey, rng, PRIVATE_RSA_ALGORITHM, secret.data(), secret.size());
|
|
+ PEM_Save(snk, rng, privateKey, PRIVATE_RSA_ALGORITHM, secret.data(), secret.size());
|
|
}
|
|
snk.MessageEnd();
|
|
}
|