Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 16-Feb-2021 | - | ||||
.evergreen/ | H | 16-Feb-2021 | - | 367 | 325 | |
utils/ | H | 16-Feb-2021 | - | 131 | 73 | |
.gitignore | H A D | 16-Feb-2021 | 13 | 2 | 1 | |
AUTHORS | H A D | 16-Feb-2021 | 820 | 24 | 23 | |
LICENSE | H A D | 16-Feb-2021 | 10 KiB | 192 | 155 | |
README.md | H A D | 16-Feb-2021 | 2 KiB | 51 | 35 | |
bio.go | H A D | 16-Feb-2021 | 6.6 KiB | 306 | 244 | |
build.go | H A D | 16-Feb-2021 | 972 | 25 | 2 | |
build_static.go | H A D | 16-Feb-2021 | 997 | 25 | 2 | |
cert.go | H A D | 16-Feb-2021 | 10.6 KiB | 405 | 326 | |
cert_test.go | H A D | 16-Feb-2021 | 3.2 KiB | 140 | 121 | |
ciphers.go | H A D | 16-Feb-2021 | 8 KiB | 322 | 254 | |
ciphers_gcm.go | H A D | 16-Feb-2021 | 4 KiB | 155 | 111 | |
ciphers_test.go | H A D | 16-Feb-2021 | 9 KiB | 308 | 259 | |
conn.go | H A D | 16-Feb-2021 | 17.8 KiB | 626 | 492 | |
ctx.go | H A D | 16-Feb-2021 | 22.6 KiB | 772 | 544 | |
ctx_test.go | H A D | 16-Feb-2021 | 1.4 KiB | 49 | 31 | |
dh.go | H A D | 16-Feb-2021 | 2.2 KiB | 69 | 33 | |
dh_test.go | H A D | 16-Feb-2021 | 1.2 KiB | 52 | 30 | |
dhparam.go | H A D | 16-Feb-2021 | 1.7 KiB | 65 | 38 | |
digest.go | H A D | 16-Feb-2021 | 1.4 KiB | 52 | 25 | |
engine.go | H A D | 16-Feb-2021 | 1.2 KiB | 51 | 29 | |
features.go | H A D | 16-Feb-2021 | 702 | 23 | 5 | |
fips.go | H A D | 16-Feb-2021 | 1.4 KiB | 67 | 29 | |
fips_test.go | H A D | 16-Feb-2021 | 429 | 28 | 20 | |
hmac.go | H A D | 16-Feb-2021 | 2.2 KiB | 92 | 65 | |
hmac_test.go | H A D | 16-Feb-2021 | 2 KiB | 75 | 47 | |
hostname.c | H A D | 16-Feb-2021 | 10.6 KiB | 374 | 262 | |
hostname.go | H A D | 16-Feb-2021 | 3.9 KiB | 127 | 65 | |
http.go | H A D | 16-Feb-2021 | 2.1 KiB | 62 | 25 | |
init.go | H A D | 16-Feb-2021 | 2.3 KiB | 83 | 29 | |
init_posix.go | H A D | 16-Feb-2021 | 1.6 KiB | 71 | 2 | |
init_windows.go | H A D | 16-Feb-2021 | 1.4 KiB | 60 | 2 | |
key.go | H A D | 16-Feb-2021 | 8.5 KiB | 317 | 244 | |
key_0_9.go | H A D | 16-Feb-2021 | 1.6 KiB | 59 | 30 | |
key_1_0.go | H A D | 16-Feb-2021 | 3.9 KiB | 133 | 69 | |
key_1_0_test.go | H A D | 16-Feb-2021 | 3.7 KiB | 150 | 118 | |
key_test.go | H A D | 16-Feb-2021 | 4.2 KiB | 177 | 146 | |
mapping.go | H A D | 16-Feb-2021 | 1.2 KiB | 63 | 35 | |
net.go | H A D | 16-Feb-2021 | 5 KiB | 181 | 115 | |
nid.go | H A D | 16-Feb-2021 | 9.6 KiB | 207 | 190 | |
password.c | H A D | 16-Feb-2021 | 247 | 11 | 9 | |
pem.go | H A D | 16-Feb-2021 | 934 | 33 | 15 | |
sha1.go | H A D | 16-Feb-2021 | 2.2 KiB | 97 | 70 | |
sha1_test.go | H A D | 16-Feb-2021 | 2.3 KiB | 110 | 79 | |
sha256.go | H A D | 16-Feb-2021 | 2.2 KiB | 90 | 64 | |
sha256_test.go | H A D | 16-Feb-2021 | 2.3 KiB | 108 | 78 | |
shim.c | H A D | 16-Feb-2021 | 16.4 KiB | 747 | 546 | |
shim.h | H A D | 16-Feb-2021 | 7.2 KiB | 182 | 134 | |
sni.c | H A D | 16-Feb-2021 | 859 | 24 | 8 | |
sni_test.go | H A D | 16-Feb-2021 | 876 | 24 | 5 | |
ssl.go | H A D | 16-Feb-2021 | 5 KiB | 171 | 94 | |
ssl_test.go | H A D | 16-Feb-2021 | 16.8 KiB | 657 | 581 | |
system_certs.c | H A D | 16-Feb-2021 | 6.9 KiB | 214 | 181 | |
system_certs.go | H A D | 16-Feb-2021 | 653 | 33 | 18 | |
tickets.go | H A D | 16-Feb-2021 | 5.8 KiB | 223 | 139 | |
version.go | H A D | 16-Feb-2021 | 873 | 28 | 5 | |
version_test.go | H A D | 16-Feb-2021 | 725 | 30 | 21 |
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