}printf("SSL connection using %s\n", SSL_get_cipher (ssl));//server_cert =SSL_get_peer_certificate(ssl);printf("Server certificate:\n");//获得服务端证书subject并转变成字符型,以便进行打印str = X509_NAME_oneline (X509_get_subject_name (server_cert),0,0);printf("\t subject: %s\n",...
}printf("SSL connection using %s\n", SSL_get_cipher (ssl));//server_cert =SSL_get_peer_certificate(ssl);printf("Server certificate:\n");//获得服务端证书subject并转变成字符型,以便进行打印str = X509_NAME_oneline (X509_get_subject_name (server_cert),0,0);printf("\t subject: %s\n",...