Lets try always supplying the AES keys to Packet dearmor() and see if that prevents the coma problem.

This commit is contained in:
Adam Ierymenko 2021-02-13 00:01:49 -05:00
parent 7c2066c258
commit 147945d20f
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
2 changed files with 6 additions and 3 deletions

View file

@ -534,12 +534,15 @@ public:
*/
inline int8_t bondingPolicy() { return _bondingPolicy; }
//const AES *aesKeysIfSupported() const
//inline const AES *aesKeysIfSupported() const
//{ return (const AES *)0; }
const AES *aesKeysIfSupported() const
inline const AES *aesKeysIfSupported() const
{ return (_vProto >= 12) ? _aesKeys : (const AES *)0; }
inline const AES *aesKeys() const
{ return _aesKeys; }
private:
struct _PeerPath
{