버전 1.0.2p 컴파일 실패

버전 1.0.2p 컴파일 실패

경고 메시지가 표시되지만 링커 오류로 인해 컴파일이 실패합니다.

통나무:

#  gcc -Wall -o server server.c -L/usr/lib -lssl -lcrypto
server.c: In function ‘InitServerCTX’:
server.c:62:5: warning: implicit declaration of function ‘SSLv3_method’ [-Wimplicit-function-declaration]
     method = SSLv3_method();
     ^
server.c:62:12: warning: assignment makes pointer from integer without a cast [enabled by default]
     method = SSLv3_method();
            ^
/tmp/ccYwA194.o: In function `InitServerCTX':
server.c:(.text+0xe8): undefined reference to `SSLv3_method'
collect2: error: ld returned 1 exit status
#

openssl 버전:

# /usr/local/openssl/bin/openssl version
OpenSSL 1.0.2p  14 Aug 2018

답변1

SSL3 방법은 더 이상 사용되지 않으며 최신 버전의 OpenSSL/libssl에서는 더 이상 지원되지 않습니다.

SSL3 루틴을 구현하기 위해 OpenSSL을 사용했던 이전 소스는 더 이상 OpenSSL을 지원하지 않습니다.

또한 모든 최신 브라우저에서는 SSLv3에 대한 지원도 중단되었습니다.

Debian의 경우 SSLv3 지원이 Jessie의 삶의 어딘가에서 중단되었습니다. Stretch는 0일차부터 지원하지 않습니다.

관련 정보