ports/security/ike/files/patch-source_iked_ike.idb.phase2.cpp
Alexey Dokuchaev ecefd5a2c1 - Unbreak the build against modern OpenSSL versions
- Remove useless line from the port description
2021-03-18 08:49:41 +00:00

11 lines
340 B
C++

--- source/iked/ike.idb.phase2.cpp.orig 2012-11-19 23:28:52 UTC
+++ source/iked/ike.idb.phase2.cpp
@@ -438,7 +438,7 @@ bool _IDB_PH2::setup_dhgrp()
}
xl.size( dh_size );
- long result = BN_bn2bin( dh->pub_key, xl.buff() );
+ long result = BN_bn2bin( DH_get0_pub_key( dh ), xl.buff() );
//
// fixup public buffer alignment