diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-10 11:56:48 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-10 12:15:47 +0100 |
commit | c9417cbaecc9480d42b9c6632ad0f61c85a2d800 (patch) | |
tree | c07a6f9b7f42a756e64821894f57ee389aec7f6b | |
parent | fa342a5519193d63b9e3401791f0267dd29d2bdc (diff) | |
download | gnutls-c9417cbaecc9480d42b9c6632ad0f61c85a2d800.tar.gz |
gnutls_privkey_import_openpgp_raw: do not release the cached value
-rw-r--r-- | lib/gnutls_privkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_privkey.c b/lib/gnutls_privkey.c index febd8f028e..59b7aece85 100644 --- a/lib/gnutls_privkey.c +++ b/lib/gnutls_privkey.c @@ -671,7 +671,7 @@ int gnutls_privkey_import_openpgp_raw(gnutls_privkey_t pkey, goto cleanup; } - ret = 0; + return 0; cleanup: gnutls_openpgp_privkey_deinit(xpriv); |