ike-cfg: Allow passing NULL to add_proposal()
authorMartin Willi <martin@revosec.ch>
Thu, 24 Apr 2014 12:19:12 +0000 (14:19 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 16 May 2014 14:01:21 +0000 (16:01 +0200)
commit3312c447ef099db8a95a553d7203ac28a58e062a
tree0866fc6c9e889874e9859268016dd8a15a26f827
parent8642f8bdb782e35be84183351a20a3df33e55586
ike-cfg: Allow passing NULL to add_proposal()

This simplifies adding default proposals with constructors potentially
returning NULL.
src/libcharon/config/ike_cfg.c
src/libcharon/config/ike_cfg.h