aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2017-09-25 20:37:35 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2017-09-25 20:37:35 +0000
commit0a196ba682d4c4a139dbb0b0e5b91f7f6bde15b5 (patch)
tree4d0e6ceaecc1853e1a83e98cb211655a67db5bc7 /dns/powerdns/files
parentbd0eb4ec0b644b62a2be59cf11bf5ccf182f30ea (diff)
downloadports-0a196ba682d4c4a139dbb0b0e5b91f7f6bde15b5.tar.gz
ports-0a196ba682d4c4a139dbb0b0e5b91f7f6bde15b5.zip
Notes
Diffstat (limited to 'dns/powerdns/files')
-rw-r--r--dns/powerdns/files/patch-pdns_botan110signers.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/dns/powerdns/files/patch-pdns_botan110signers.cc b/dns/powerdns/files/patch-pdns_botan110signers.cc
new file mode 100644
index 000000000000..3331b5a5f738
--- /dev/null
+++ b/dns/powerdns/files/patch-pdns_botan110signers.cc
@@ -0,0 +1,15 @@
+https://github.com/PowerDNS/pdns/pull/5498/commits/0f8f34997afc2c3609b2f3df72ca808940d2a778#diff-a69f1deeeb9a0d7ebabc200a4c24c9f9L184
+--- pdns/botan110signers.cc.orig 2017-08-31 08:52:49 UTC
++++ pdns/botan110signers.cc
+@@ -181,8 +181,9 @@ std::string GOSTDNSCryptoKeyEngine::getP
+
+ std::string GOSTDNSCryptoKeyEngine::getPublicKeyString() const
+ {
+- const BigInt&x =d_key->public_point().get_affine_x();
+- const BigInt&y =d_key->public_point().get_affine_y();
++ std::shared_ptr<GOST_3410_PublicKey> pk = d_pubkey ? d_pubkey : d_key;
++ const BigInt&x =pk->public_point().get_affine_x();
++ const BigInt&y =pk->public_point().get_affine_y();
+
+ size_t part_size = std::max(x.bytes(), y.bytes());
+