2013-03-22 3 views
0

DTLSv1_listen()을 호출하고 0을 반환합니다."파일 존재"오류의 의미는 무엇입니까?

그런 다음 SSL_get_error()를 사용하여 오류를 검색합니다.

SSL_error = SSL_ERROR_SYSCALL 
errno = 17: "File exists" 

이게 무슨 의미입니까? 어떤 파일이 존재합니까?

도움을 주셔서 감사합니다.

답변

0

더 많은 컨텍스트를 제공하면 좋을 것입니다. http://fossies.org/unix/misc/postgresql-9.2.3.tar.gz/dox/fe-secure_8c_source.html (1085 호선)

1982   /* 
1083   * Cert file exists, so load it. Since OpenSSL doesn't provide the 
1084   * equivalent of "SSL_use_certificate_chain_file", we actually have to 
1085   * load the file twice. The first call loads any extra certs after 
1086   * the first one into chain-cert storage associated with the 
1087   * SSL_context. The second call loads the first cert (only) into the 
1088   * SSL object, where it will be correctly paired with the private key 
1089   * we load below. We do it this way so that each connection 
1090   * understands which subject cert to present, in case different 
1091   * sslcert settings are used for different connections in the same 
1092   * process. 
1093   */ 
:하지만 짧은 인터넷 검색 코드와 주석의이 조각되었다
관련 문제