diff options
author | Fedor Indutny <fedor@indutny.com> | 2014-04-18 02:24:48 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-04-18 02:24:48 +0400 |
commit | afaff70a9b782c728b06a018d8473567c073df60 (patch) | |
tree | 3d881331c62eb1a1faf0fb911f3123dece7c110f | |
parent | 345c40b6615c499b586b6f7f5528bcbea28ca12e (diff) | |
download | node-new-afaff70a9b782c728b06a018d8473567c073df60.tar.gz |
src: lint after OCSP commits
-rw-r--r-- | lib/_tls_legacy.js | 2 | ||||
-rw-r--r-- | lib/_tls_wrap.js | 2 | ||||
-rw-r--r-- | src/node_crypto.cc | 4 | ||||
-rw-r--r-- | src/node_crypto.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/_tls_legacy.js b/lib/_tls_legacy.js index 8ba661a710..c6ba34a4f4 100644 --- a/lib/_tls_legacy.js +++ b/lib/_tls_legacy.js @@ -381,7 +381,7 @@ CryptoStream.prototype.__defineGetter__('bytesWritten', function() { CryptoStream.prototype.getPeerCertificate = function(detailed) { if (this.pair.ssl) { return common.translatePeerCertificate( - this.pair.ssl.getPeerCertificate(detailed)); + this.pair.ssl.getPeerCertificate(detailed)); } return null; diff --git a/lib/_tls_wrap.js b/lib/_tls_wrap.js index 183c97112f..8f44da18ab 100644 --- a/lib/_tls_wrap.js +++ b/lib/_tls_wrap.js @@ -476,7 +476,7 @@ TLSSocket.prototype.setSession = function(session) { TLSSocket.prototype.getPeerCertificate = function(detailed) { if (this.ssl) { return common.translatePeerCertificate( - this.ssl.getPeerCertificate(detailed)); + this.ssl.getPeerCertificate(detailed)); } return null; diff --git a/src/node_crypto.cc b/src/node_crypto.cc index e29948520c..76d5a5fb55 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -485,7 +485,7 @@ int SSL_CTX_get_issuer(SSL_CTX* ctx, X509* cert, X509** issuer) { ret = X509_STORE_CTX_get1_issuer(issuer, &store_ctx, cert); X509_STORE_CTX_cleanup(&store_ctx); -end: + end: return ret; } @@ -1339,7 +1339,7 @@ void SSLWrap<Base>::GetPeerCertificate( CHECK_NE(cert, NULL); X509_free(cert); -done: + done: if (peer_certs != NULL) sk_X509_pop_free(peer_certs, X509_free); if (result.IsEmpty()) diff --git a/src/node_crypto.h b/src/node_crypto.h index 7645eb281a..530f8e8848 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -175,7 +175,7 @@ class SSLWrap { #endif #ifdef NODE__HAVE_TLSEXT_STATUS_CB ocsp_response_.Reset(); -#endif // NODE__HAVE_TLSEXT_STATUS_CB +#endif // NODE__HAVE_TLSEXT_STATUS_CB } inline SSL* ssl() const { return ssl_; } |