Skip to content

Commit 51c3f6d

Browse files
committed
login-common: Get client certificate name only once
get_cert_username() already sets the username, so do not get it again in different way here. Broken 9296ff6
1 parent 15318bc commit 51c3f6d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/#-common/sasl-server.c

-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ int sasl_server_auth_request_info_fill(struct client *client,
458458

459459
if (client->ssl_iostream != NULL) {
460460
unsigned char hash[MD5_RESULTLEN];
461-
info_r->cert_username = ssl_iostream_get_peer_name(client->ssl_iostream);
462461
info_r->ssl_cipher = ssl_iostream_get_cipher(client->ssl_iostream,
463462
&info_r->ssl_cipher_bits);
464463
info_r->ssl_pfs = ssl_iostream_get_pfs(client->ssl_iostream);

0 commit comments

Comments
 (0)