Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename IceSSL namespace to Ice::SSL #2119

Merged
merged 13 commits into from
May 7, 2024
Merged

Rename IceSSL namespace to Ice::SSL #2119

merged 13 commits into from
May 7, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented May 6, 2024

This PR renames IceSSL namespace to Ice::SSL, It also fixes SSL and Schannel spelling

@@ -3,7 +3,7 @@
//

#include "Instance.h"
#include "../IceSSL/SSLEngine.h"
#include "../Ice/SSL/SSLEngine.h"
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we should use this include syntax.

If it's a public header, use "Ice/SSL/SSLEngine.h". If it's a private (local) header, use "SSL/SSLEngine.h".

Copy link
Member

Choose a reason for hiding this comment

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

Seems like this is likely a typo.


#include "Certificate.h"

#include <openssl/pem.h>
#include <openssl/x509v3.h>

namespace IceSSL::OpenSSL
namespace Ice::SSL::OpenSSL
Copy link
Member

Choose a reason for hiding this comment

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

If we keep this public API, I would prefer a prefix (OpenSSLCertificate) over a sub-namespace, just like we did for the authentication options.

@@ -3,7 +3,7 @@
//

#include "Instance.h"
#include "../IceSSL/SSLEngine.h"
#include "../Ice/SSL/SSLEngine.h"
Copy link
Member

Choose a reason for hiding this comment

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

Seems like this is likely a typo.

@@ -34,10 +34,10 @@ namespace
};
using CertInfoHolderPtr = shared_ptr<CertInfoHolder>;

class SCHannelX509ExtensionI : public X509Extension
class ScHannelX509ExtensionI : public X509Extension
Copy link
Member

Choose a reason for hiding this comment

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

Is this casing correct? Shouldn't these be Schannel?

@pepone pepone merged commit 6002b49 into zeroc-ice:main May 7, 2024
17 checks passed
@pepone pepone mentioned this pull request May 17, 2024
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