203 |
|
|
204 |
if (cipher) { |
if (cipher) { |
205 |
SSL_CIPHER_get_bits(cipher, &bits); |
SSL_CIPHER_get_bits(cipher, &bits); |
206 |
info(VERBOSE, _("%s connection using %s (%u bits)"), |
info(VERBOSE, |
207 |
SSL_CIPHER_get_version(cipher), SSL_CIPHER_get_name(cipher), bits); |
ngettext("%s connection using %s (%u bit)", |
208 |
|
"%s connection using %s (%u bits)" |
209 |
|
bits), |
210 |
|
SSL_CIPHER_get_version(cipher), |
211 |
|
SSL_CIPHER_get_name(cipher), bits); |
212 |
} |
} |
213 |
cert = SSL_get_peer_certificate(ssl_local); |
cert = SSL_get_peer_certificate(ssl_local); |
214 |
if (cert == 0) |
if (cert == 0) |
215 |
return; |
return; |
216 |
|
|
217 |
info(VERBOSE, _("Server public key is %d bits"), |
bits = EVP_PKEY_bits(X509_get_pubkey(cert)); |
218 |
EVP_PKEY_bits(X509_get_pubkey(cert))); |
info(VERBOSE, |
219 |
|
ngettext("Server public key is %d bit", |
220 |
|
"Server public key is %d bits", bits), |
221 |
|
bits); |
222 |
|
|
223 |
x509buf = (char *)xmalloc(X509BUFSIZE + 1); |
x509buf = (char *)xmalloc(X509BUFSIZE + 1); |
224 |
|
|