| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 03e75fd commit 6e93c17
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,7 +62,7 @@ void GetCipherInfo(const FunctionCallbackInfo<Value>& args) { | |||
| 62 | 62 | cipher = EVP_get_cipherbyname(*name); | |
| 63 | 63 | } else { | |
| 64 | 64 | int nid = args[1].As<Int32>()->Value(); | |
| 65 | - cipher = EVP_get_cipherbyname(OBJ_nid2sn(nid)); | ||
| 65 | + cipher = EVP_get_cipherbynid(nid); | ||
| 66 | 66 | } | |
| 67 | 67 | ||
| 68 | 68 | if (cipher == nullptr) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments