Skip to content

Commit

Permalink
BCertificate: build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkomandy committed Nov 8, 2015
1 parent 6c32f50 commit f26dbfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/kits/network/libnetapi/Certificate.cpp
Expand Up @@ -60,7 +60,7 @@ BCertificate::BCertificate(Private* data)

BCertificate::BCertificate(const BCertificate& other)
{
fPrivate = new<std::nothrow>BCertificate::Private(other.fPrivate);
fPrivate = new(std::nothrow) BCertificate::Private(other.fPrivate);
}


Expand Down Expand Up @@ -153,7 +153,7 @@ BCertificate::String() const
bool
BCertificate::operator==(const BCertificate& other)
{
return X509_cmp(fPrivate.fX509, other.fPrivate.fX509) == 0;
return X509_cmp(fPrivate->fX509, other.fPrivate->fX509) == 0;
}


Expand All @@ -168,7 +168,7 @@ BCertificate::Private::Private(X509* data)

BCertificate::Private::~Private()
{
sk_X509_pop_free(chain, X509_free)
sk_X509_pop_free(fX509, X509_free);
}


Expand Down

0 comments on commit f26dbfe

Please sign in to comment.