Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Destroy vpninfo->https_cred on failing to create it
If something like certificate setup went wrong, we'd return failure but *not* destroy the gnutls_certificate_credentials_t that we were attempting to set up. So a subsequent retry would see that it already exists, assume it's *fine* and just go ahead and use it. Don't do that. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Mar 4, 2013
1 parent
ed14a30
commit 82237a9
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters