Skip to content

tls: refactor utility functions#4686

Merged
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
ramaraochavali:fix/refactor_tls_utils
Oct 11, 2018
Merged

tls: refactor utility functions#4686
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
ramaraochavali:fix/refactor_tls_utils

Conversation

@ramaraochavali
Copy link
Copy Markdown
Contributor

Description: This is one of the items discussed in the PR #4566. To refactor common cert functions to utilities.
Risk Level: Low
Testing: Existing Automated tests
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Rama <rama.rao@salesforce.com>
Signed-off-by: Rama <rama.rao@salesforce.com>
Comment thread source/common/ssl/ssl_socket.cc Outdated
return "";
}
return getSubjectFromCertificate(cert.get());
return Utility::getSubjectFromCertificate(*cert.get());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: *cert

Signed-off-by: Rama <rama.rao@salesforce.com>
@mattklein123 mattklein123 merged commit 66a5814 into envoyproxy:master Oct 11, 2018
@ramaraochavali ramaraochavali deleted the fix/refactor_tls_utils branch October 12, 2018 08:28
alyssawilk pushed a commit that referenced this pull request Oct 12, 2018
Description:
Quick fix of time dependent SSL utility test introduced in #4686.

Risk Level: Low
Testing: CI
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants