projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da819bf
)
Fixed return value for already accepted certificate.
author
Armin Novak
<armin.novak@thincast.com>
Fri, 14 Dec 2018 08:52:25 +0000
(09:52 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Fri, 14 Dec 2018 08:52:25 +0000
(09:52 +0100)
libfreerdp/crypto/tls.c
patch
|
blob
|
history
diff --git
a/libfreerdp/crypto/tls.c
b/libfreerdp/crypto/tls.c
index
1c7b66f
..
7d44457
100644
(file)
--- a/
libfreerdp/crypto/tls.c
+++ b/
libfreerdp/crypto/tls.c
@@
-1333,7
+1333,10
@@
int tls_verify_certificate(rdpTls* tls, CryptoCert cert, const char* hostname,
/* Check, if we already accepted this key. */
if (is_accepted(tls, pemCert, length))
+ {
+ verification_status = TRUE;
goto end;
+ }
if (tls->isGatewayTransport || is_redirected(tls))
flags |= VERIFY_CERT_FLAG_LEGACY;