summaryrefslogtreecommitdiff
path: root/internal/stupidgcm/common.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-05-05 00:02:04 +0200
committerJakob Unterwurzacher2016-05-05 00:09:08 +0200
commitcf29ce37627fd6ba4416dd9eb5e56bed44128131 (patch)
tree6f1e66d0d421ffd5b305a2d1a5315ac9ea84edc9 /internal/stupidgcm/common.go
parent906172938afcf40418d78d825ee4cd2b9363d643 (diff)
stupidgcm: set dummy locking callback.v0.10-rc2
In general, OpenSSL is only threadsafe if you provide a locking function through CRYPTO_set_locking_callback. However, the GCM operations that stupidgcm uses never call that function. To guard against that ever changing, set a dummy locking callback that crashes the app.
Diffstat (limited to 'internal/stupidgcm/common.go')
0 files changed, 0 insertions, 0 deletions