This repository was archived by the owner on Jul 24, 2023. It is now read-only.
Commit 751e558
Tobias Haagen Michaelsen
Check if OpenSSL is loaded.
Since we changed from `Digest::HMAC` to `OpenSSL::HMAC`, we should check
for if `OpenSSL` is loaded, and then we can safely assume that `HMAC` is
available. Before `Digest` was always defined, so we had to check if
it had loaded its submodules.1 parent ce2e30d commit 751e558
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments