← Commit list

8fc70b52e

Denys Vlasenko
Denys Vlasenko
2026-05-14
SUCCESS Duration: 143s

Subject

tls: use bb_simple_error_msg where appropriate

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

networking/tls.c+2 -2
@@ -2729,7 +2729,7 @@ static void send_server_key_exchange(tls_state_t *tls)
sig_len = privRsaEncryptSignedElement(NULL, &tls->hsd->rsa_priv_key,
hash, 32, p + 2, 512, NULL);
if (sig_len < 0) {
- bb_error_msg_and_die("RSA signature failed");
+ bb_simple_error_msg_and_die("RSA signature failed");
}
/* Signature length (2 bytes, big-endian) */
@@ -2958,7 +2958,7 @@ static char *decode_base64_or_die(char *dst, const char *src)
{
char *dst_end = decode_base64(dst, &src);
if (*src != '\0')
- bb_error_msg_and_die("base64 decode error");
+ bb_simple_error_msg_and_die("base64 decode error");
return dst_end;
}