Browse Source

Do not duplicate default string twice

tags/v1.9.90
Jan Grulich 5 years ago
parent
commit
8105be9f31
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      common/rfb/CSecurityTLS.cxx

+ 2
- 2
common/rfb/CSecurityTLS.cxx View File

@@ -95,9 +95,9 @@ void CSecurityTLS::setDefaults()
delete [] homeDir;

if (!fileexists(caDefault.buf))
X509CA.setDefaultStr(strdup(caDefault.buf));
X509CA.setDefaultStr(caDefault.buf);
if (!fileexists(crlDefault.buf))
X509CRL.setDefaultStr(strdup(crlDefault.buf));
X509CRL.setDefaultStr(crlDefault.buf);
}

void CSecurityTLS::shutdown(bool needbye)

Loading…
Cancel
Save