| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9e0a6e9 commit faa5cac
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1101,8 +1101,7 @@ MaybeLocal<Object> GetEphemeralKey(Environment* env, const SSLPointer& ssl) { | |||
| 1101 | 1101 | ||
| 1102 | 1102 | EscapableHandleScope scope(env->isolate()); | |
| 1103 | 1103 | Local<Object> info = Object::New(env->isolate()); | |
| 1104 | - if (!SSL_get_server_tmp_key(ssl.get(), &raw_key)) | ||
| 1105 | - return scope.Escape(info); | ||
| 1104 | + if (!SSL_get_peer_tmp_key(ssl.get(), &raw_key)) return scope.Escape(info); | ||
| 1106 | 1105 | ||
| 1107 | 1106 | Local<Context> context = env->context(); | |
| 1108 | 1107 | crypto::EVPKeyPointer key(raw_key); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments