diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-03-02 11:51:27 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-03-02 11:54:39 +0100 |
commit | 9d8192bfcd74912600abc9417e392a0cb469260e (patch) | |
tree | 8e7648cf3b650aef66cf2f6b108c07d49c35d647 /src/pki/commands/issue.c | |
parent | bb05b251b2ffbf97853796631319d61089926943 (diff) | |
download | strongswan-9d8192bfcd74912600abc9417e392a0cb469260e.tar.bz2 strongswan-9d8192bfcd74912600abc9417e392a0cb469260e.tar.xz |
libipsec: Enforce a minimum of 256 for SPIs
RFC 4303 reserves the SPIs between 1 and 255 for future use. This also
avoids an overflow and a division by zero if spi_min is 0 and spi_max is
0xffffffff.
Diffstat (limited to 'src/pki/commands/issue.c')
0 files changed, 0 insertions, 0 deletions