diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-15 13:58:05 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-15 13:58:05 +0200 |
commit | 86ff57e8f9f5f33d820b64b5cfdc60cb830b6d94 (patch) | |
tree | 855039c1ffdca5afd75af0021b592869517d7a34 /lib/tpm.c | |
parent | 83b64980f5ec9c3110cf0cd44d8815271ece7996 (diff) | |
download | gnutls-86ff57e8f9f5f33d820b64b5cfdc60cb830b6d94.tar.gz |
several bug fixes due to coverity.
Diffstat (limited to 'lib/tpm.c')
-rw-r--r-- | lib/tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -808,7 +808,7 @@ static int decode_tpmkey_url(const char *url, struct tpmkey_url_st *s) return gnutls_assert_val(GNUTLS_E_PARSING_ERROR); } - if ((p = strstr(url, "storage=user")) != NULL) + if (strstr(url, "storage=user") != NULL) s->storage = TSS_PS_TYPE_USER; else s->storage = TSS_PS_TYPE_SYSTEM; |