projects
/
tlspool
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
434df53
)
Assignment clobbers value in if
author
Adriaan de Groot
<groot@kde.org>
Mon, 21 Aug 2017 09:08:46 +0000
(11:08 +0200)
committer
Adriaan de Groot
<groot@kde.org>
Mon, 21 Aug 2017 09:32:05 +0000
(11:32 +0200)
src/starttls.c
patch
|
blob
|
history
diff --git
a/src/starttls.c
b/src/starttls.c
index
62373db
..
8821960
100644
(file)
--- a/
src/starttls.c
+++ b/
src/starttls.c
@@
-5555,7
+5555,7
@@
gtls_error certificate_onthefly (struct command *cmd) {
// This is as expected, now .size will have been set
gtls_errno = GNUTLS_E_SUCCESS;
} else {
- if (gtls_errno = GNUTLS_E_SUCCESS) {
+ if (gtls_errno == GNUTLS_E_SUCCESS) {
// Something must be wrong if we receive OK
gtls_errno = GNUTLS_E_INVALID_REQUEST;
}