• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..30-Sep-2020-

.evergreen/H30-Sep-2020-367325

utils/H30-Sep-2020-13173

.gitignoreH A D30-Sep-202013 21

AUTHORSH A D30-Sep-2020820 2423

LICENSEH A D30-Sep-202010 KiB192155

README.mdH A D30-Sep-20202 KiB5135

bio.goH A D30-Sep-20206.6 KiB306244

build.goH A D03-May-20221,012 262

build_static.goH A D30-Sep-2020997 252

cert.goH A D30-Sep-202010.6 KiB405326

ciphers.goH A D30-Sep-20208 KiB322254

ciphers_gcm.goH A D30-Sep-20204 KiB155111

conn.goH A D30-Sep-202017.8 KiB626492

ctx.goH A D30-Sep-202022.6 KiB772544

dh.goH A D30-Sep-20202.2 KiB6933

dhparam.goH A D30-Sep-20201.7 KiB6538

digest.goH A D30-Sep-20201.4 KiB5225

engine.goH A D30-Sep-20201.2 KiB5129

features.goH A D30-Sep-2020702 235

fips.goH A D30-Sep-20201.4 KiB6729

hmac.goH A D30-Sep-20202.2 KiB9265

hostname.cH A D30-Sep-202010.6 KiB374262

hostname.goH A D30-Sep-20203.9 KiB12765

http.goH A D30-Sep-20202.1 KiB6225

init.goH A D30-Sep-20202.3 KiB8329

init_posix.goH A D03-May-20221.6 KiB712

init_windows.goH A D30-Sep-20201.4 KiB602

key.goH A D30-Sep-20208.5 KiB317244

key_0_9.goH A D30-Sep-20201.6 KiB5930

key_1_0.goH A D30-Sep-20203.9 KiB13369

mapping.goH A D30-Sep-20201.2 KiB6335

net.goH A D30-Sep-20205 KiB181115

nid.goH A D30-Sep-20209.6 KiB207190

password.cH A D30-Sep-2020247 119

pem.goH A D30-Sep-2020934 3315

sha1.goH A D30-Sep-20202.2 KiB9770

sha256.goH A D30-Sep-20202.2 KiB9064

shim.cH A D30-Sep-202016.4 KiB747546

shim.hH A D30-Sep-20207.2 KiB182134

sni.cH A D30-Sep-2020859 248

ssl.goH A D30-Sep-20205 KiB17194

system_certs.cH A D30-Sep-20206.9 KiB214181

system_certs.goH A D30-Sep-2020653 3318

tickets.goH A D30-Sep-20205.8 KiB223139

version.goH A D30-Sep-2020873 285

README.md

1# OpenSSL bindings for Go
2
3Please see http://godoc.org/github.com/spacemonkeygo/openssl for more info
4
5### License
6
7Copyright (C) 2017. See AUTHORS.
8
9Licensed under the Apache License, Version 2.0 (the "License");
10you may not use this file except in compliance with the License.
11You may obtain a copy of the License at
12
13  http://www.apache.org/licenses/LICENSE-2.0
14
15Unless required by applicable law or agreed to in writing, software
16distributed under the License is distributed on an "AS IS" BASIS,
17WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18See the License for the specific language governing permissions and
19limitations under the License.
20
21### Installing on a Unix-ish system with pkg-config
22
231.  (If necessary) install the openssl C library with a package manager
24    that provides an openssl.pc file OR install openssl manually and create
25    an openssl.pc file.
26
272.  Ensure that `pkg-config --cflags --libs openssl` finds your openssl
28    library.  If it doesn't, try setting `PKG_CONFIG_PATH` to the directory
29    containing your openssl.pc file.  E.g. for darwin: with MacPorts,
30    `PKG_CONFIG_PATH=/opt/local/lib/pkgconfig` or for Homebrew,
31    `PKG_CONFIG_PATH=/usr/local/Cellar/openssl/1.0.2l/lib/pkgconfig`
32
33### Installing on a Unix-ish system without pkg-config
34
351.  (If necessary) install the openssl C library in your customary way
36
372.  Set the `CGO_CPP_FLAGS`, `CGO_CFLAGS` and `CGO_LDFLAGS` as necessary to
38    provide `-I`, `-L` and other options to the compiler.  E.g. on darwin,
39    MongoDB's darwin build servers use the native libssl, but provide the
40    missing headers in a custom directory, so it the build hosts set
41    `CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include`
42
43### Installing on Windows
44
451. Install [mingw-w64](http://mingw-w64.sourceforge.net/) and add it to
46   your `PATH`
47
482. Install the C openssl into `C:\openssl`.  (Unfortunately, this is still
49   hard-coded.)  You should have directories like `C:\openssl\include` and
50   `C:\openssl\bin`.
51