[Swan-commit] Changes to ref refs/heads/master

D. Hugh Redelmeier hugh at vault.libreswan.fi
Sun Jul 19 01:00:46 EEST 2015


New commits:
commit 0734d971379106f6164d597ecfb16f0481adb9d4
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Sat Jul 18 17:50:34 2015 -0400

    pluto: fix "story" so const need not be cast away
    
    In various bits of DH code, a "story" variable or parameter is used.
    Although story was declared without the const attribute, it is set to a
    const char * value.  To evade diagnostics it was jammed in via a cast.  Fixed.
    
    Also, enum_show was used to generate the value.  The resulting value is stored
    in a global static buffer and is thus subject to surprising overwriting.  I switched
    to using enum_name which has no such problem.  I assume that the group in use
    actually has a name known to us.



More information about the Swan-commit mailing list