Reverted the RNG argument from silc_pkcs_verify.
[silc.git] / lib / silcske / silcske.c
index b0147f22a65ef1c575983578ef3bc33b64341c7c..02d0961cfe9c85f1ae8f479cdbaf98496703af92 100644 (file)
@@ -1717,7 +1717,7 @@ SILC_FSM_STATE(silc_ske_st_initiator_phase4)
     SILC_FSM_CALL(ske->key_op =
                  silc_pkcs_verify(ske->prop->public_key, payload->sign_data,
                                   payload->sign_len, hash, hash_len, NULL,
-                                  ske->rng, silc_ske_verify_cb, ske));
+                                  silc_ske_verify_cb, ske));
     /* NOT REACHED */
   }
 
@@ -2247,7 +2247,7 @@ SILC_FSM_STATE(silc_ske_st_responder_phase4)
                  silc_pkcs_verify(ske->prop->public_key,
                                   recv_payload->sign_data,
                                   recv_payload->sign_len,
-                                  hash, hash_len, NULL, ske->rng,
+                                  hash, hash_len, NULL,
                                   silc_ske_verify_cb, ske));
     /* NOT REACHED */
   }