Skip to content

Commit

Permalink
remove useless build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Wendling authored and zeebo committed Jun 6, 2017
1 parent b90544c commit 0d02120
Show file tree
Hide file tree
Showing 28 changed files with 6 additions and 94 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

### Using on macOS
1. Install [homebrew](http://brew.sh/)
2. `$ brew install openssl` or `$ brew install [email protected]`

### Using on Windows
1. Install [mingw-w64](http://mingw-w64.sourceforge.net/)
2. Install [pkg-config-lite](http://sourceforge.net/projects/pkgconfiglite)
Expand Down
2 changes: 0 additions & 2 deletions bio.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #cgo pkg-config: libssl libcrypto
Expand Down
2 changes: 0 additions & 2 deletions cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions ciphers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions ciphers_gcm.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo,!darwin

package openssl

// #include <openssl/evp.h>
Expand Down
2 changes: 0 additions & 2 deletions ciphers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !darwin

package openssl

import (
Expand Down
2 changes: 0 additions & 2 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions ctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions dhparam.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions digest.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

/*
Expand Down
2 changes: 0 additions & 2 deletions fips.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build cgo

package openssl

/*
Expand Down
2 changes: 0 additions & 2 deletions hmac.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions hmac_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

import (
Expand Down
2 changes: 0 additions & 2 deletions hostname.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

/*
Expand Down
2 changes: 0 additions & 2 deletions init.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

/*
Package openssl is a light wrapper around OpenSSL for Go.
Expand Down
2 changes: 1 addition & 1 deletion init_posix.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux darwin cgo
// +build linux darwin
// +build !windows

package openssl
Expand Down
2 changes: 1 addition & 1 deletion init_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build windows cgo
// +build windows

package openssl

Expand Down
2 changes: 0 additions & 2 deletions key.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

import (
Expand Down
44 changes: 0 additions & 44 deletions old_openssl_compat.go

This file was deleted.

2 changes: 0 additions & 2 deletions sha1.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions sha1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

import (
Expand Down
2 changes: 0 additions & 2 deletions sha256.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions sha256_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

import (
Expand Down
2 changes: 0 additions & 2 deletions ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down
2 changes: 0 additions & 2 deletions tickets.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build cgo

package openssl

// #include "shim.h"
Expand Down

0 comments on commit 0d02120

Please sign in to comment.