summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongsun Lee <ds73.lee@samsung.com>2018-10-02 02:24:20 (GMT)
committerDongsun Lee <ds73.lee@samsung.com>2018-10-02 02:39:32 (GMT)
commit0edb5247b441d2386fb416e0108e21f27b836f19 (patch)
tree784c817106ce5035697cd5fd4ac8fc97169739a2
parenta4141a09f28a092f8bcd30fded8a602cba009be0 (diff)
downloadlibwebappenc-0edb5247b441d2386fb416e0108e21f27b836f19.zip
libwebappenc-0edb5247b441d2386fb416e0108e21f27b836f19.tar.gz
libwebappenc-0edb5247b441d2386fb416e0108e21f27b836f19.tar.bz2
- WGID=250134 : OP_PRECEDENCE_ASSIGN_CMP Change-Id: I293fec5a024ee40fb86a8e9f4adc3863007a36e8 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
-rw-r--r--srcs/key_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/key_handler.c b/srcs/key_handler.c
index b992799..e095903 100644
--- a/srcs/key_handler.c
+++ b/srcs/key_handler.c
@@ -96,7 +96,7 @@ int _get_random(raw_buffer_s *rb)
size_t i = 0;
int ch = 0;
- while (i < rb->size && (ch = fgetc(f) != EOF))
+ while ((i < rb->size) && ((ch = fgetc(f)) != EOF))
rb->buf[i++] = (unsigned char)ch;
fclose(f);