Skip to content

Commit

Permalink
Merge pull request #1553 from tchaloupka/fix_botan
Browse files Browse the repository at this point in the history
Fix compilation with botan v1.12.6
  • Loading branch information
s-ludwig authored Aug 22, 2016
2 parents 62f5c65 + d17bc93 commit 1b17907
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/vibe/stream/botan.d
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ class BotanTLSContext : TLSContext {
private class CustomTLSPolicy : TLSPolicy
{
private {
TLSProtocolVersion m_min_ver = TLSProtocolVersion.SSL_V3;
TLSProtocolVersion m_min_ver = TLSProtocolVersion.TLS_V10;
int m_min_dh_group_size = 1024;
Vector!TLSCiphersuite m_pri_ciphersuites;
Vector!string m_pri_ecc_curves;
Expand Down Expand Up @@ -797,6 +797,11 @@ private class CustomTLSCredentials : TLSCredentialsManager
{
return super.psk(type, context, identity);
}

override bool hasPsk()
{
return super.hasPsk();
}
}

private CustomTLSCredentials createCreds()
Expand Down

0 comments on commit 1b17907

Please sign in to comment.