Skip to content
Permalink
Browse files

libvpn: resetting to default wasn't clearing client extra CA certificate

  • Loading branch information...
RMerl committed Mar 21, 2019
1 parent 58c2fda commit 2204f05a5e9d8b6a1177295b9e674928895cd78a
Showing with 1 addition and 0 deletions.
  1. +1 −0 release/src/router/libvpn/openvpn_config.c
@@ -145,6 +145,7 @@ void reset_ovpn_setting(ovpn_type_t type, int unit, int full){
set_ovpn_key(type, unit, OVPN_CLIENT_CERT, NULL, NULL);
set_ovpn_key(type, unit, OVPN_CLIENT_KEY, NULL, NULL);
set_ovpn_key(type, unit, OVPN_CLIENT_CRL, NULL, NULL);
set_ovpn_key(type, unit, OVPN_CLIENT_CA_EXTRA, NULL, NULL);
}
#endif

0 comments on commit 2204f05

Please sign in to comment.
You can’t perform that action at this time.