@henningw commented on this pull request.


> +static int try_recover_with_recovery_id(secp256k1_context *ctx, const 
> unsigned char *sig_bytes, 
+                                       const unsigned char *message_hash, int 
recovery_id, 
+                                       char *recovered_address, int debug) {
+    secp256k1_ecdsa_recoverable_signature recoverable_sig;
+    secp256k1_pubkey pubkey;
+    unsigned char pubkey_bytes[65];
+    size_t pubkey_len;
+    SHA3_CTX addr_ctx;
+    unsigned char addr_hash[32];
+    int ret;
+    
+    (void)debug; /* Unused parameter */
+    
+    /* Create recoverable signature */
+    if (!secp256k1_ecdsa_recoverable_signature_parse_compact(ctx, 
&recoverable_sig, sig_bytes, recovery_id)) {
+        return -1;

DBG was added

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4470#discussion_r2660910739
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4470/review/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to