Skip to content

Commit

Permalink
reverting openSSL v3 syntax to v1.1 compatible syntax for udaServerSS…
Browse files Browse the repository at this point in the history
…L authentication
  • Loading branch information
stephen-dixon committed Aug 22, 2024
1 parent 13596f1 commit f9dfc71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/authentication/udaServerSSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ int startUdaServerSSL()
}

// Get the Client's certificate and verify
X509* peer = SSL_get1_peer_certificate(g_ssl);
X509* peer = SSL_get_peer_certificate(g_ssl);

if (peer != nullptr) {
if ((rc = (int)SSL_get_verify_result(g_ssl)) != X509_V_OK) {
Expand Down Expand Up @@ -557,4 +557,4 @@ int readUdaServerSSL(void* iohandle, char* buf, int count)
return rc;
}

#endif // SERVERBUILD
#endif // SERVERBUILD

0 comments on commit f9dfc71

Please sign in to comment.