ports/security/ike/files/patch-source_iked_ike.idb.phase1.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
359 B
C++

--- source/iked/ike.idb.phase1.cpp.orig 2011-02-01 07:21:32 UTC
+++ source/iked/ike.idb.phase1.cpp
@@ -676,7 +676,7 @@ bool _IDB_PH1::setup_dhgrp( IKE_PROPOSAL * proposal )
}
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