소스 검색

Initialise CSecurityTLS::cert_cred properly

If we leave it at something random we'll get an invalid delete
if the handshake fails.
tags/v1.9.90
Pierre Ossman 5 년 전
부모
커밋
50aaed49b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      common/rfb/CSecurityTLS.cxx

+ 1
- 1
common/rfb/CSecurityTLS.cxx 파일 보기

@@ -68,7 +68,7 @@ StringParameter CSecurityTLS::X509CRL("X509CRL", "X509 CRL file", "", ConfViewer
static LogWriter vlog("TLS");

CSecurityTLS::CSecurityTLS(bool _anon) : session(0), anon_cred(0),
anon(_anon), fis(0), fos(0)
cert_cred(0), anon(_anon), fis(0), fos(0)
{
cafile = X509CA.getData();
crlfile = X509CRL.getData();

Loading…
취소
저장