質問編集履歴

1

追記

2018/06/23 09:02

投稿

coinbura
coinbura

スコア106

test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,37 @@
51
51
  一体何が原因で動かないのでしょうか?
52
52
 
53
53
  同じファイルを参照しているはずなのに、ブラウザとcronで実行結果が変わるということは有りうるのでしょうか?
54
+
55
+
56
+
57
+
58
+
59
+ 追記.
60
+
61
+ 1561行目付近のコードは以下になります(1561は「user_error('No comp…」)。
62
+
63
+ ```ここに言語を入力
64
+
65
+ // we need to decide upon the symmetric encryption algorithms before we do the diffie-hellman key exchange
66
+
67
+ // we don't initialize any crypto-objects, yet - we do that, later. for now, we need the lengths to make the
68
+
69
+ // diffie-hellman key exchange as fast as possible
70
+
71
+ $decrypt = $this->_array_intersect_first($encryption_algorithms, $this->encryption_algorithms_server_to_client);
72
+
73
+ $decryptKeyLength = $this->_encryption_algorithm_to_key_size($decrypt);
74
+
75
+ if ($decryptKeyLength === null) {
76
+
77
+ user_error('No compatible server to client encryption algorithms found');
78
+
79
+ return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED);
80
+
81
+ }
82
+
83
+ ```
84
+
85
+
86
+
87
+ なんの事かさっぱり分かりません。。。