]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update apps/lib/s_cb.c
authorSashan <anedvedicky@gmail.com>
Wed, 1 Apr 2026 06:28:31 +0000 (08:28 +0200)
committerNikola Pajkovsky <nikolap@openssl.org>
Fri, 10 Apr 2026 12:22:43 +0000 (14:22 +0200)
Co-authored-by: Bob Beck <beck@obtuse.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Fri Apr 10 12:22:46 2026
(Merged from https://github.com/openssl/openssl/pull/30596)

apps/lib/s_cb.c
crypto/bio/bss_file.c

index 87f7241547e65443a8feee1dc2b8f3c4abbd1992..5629e138f87674c00e4b354b30cc70c15688667e 100644 (file)
@@ -414,7 +414,7 @@ int ssl_print_tmp_key(BIO *out, SSL *s)
             const char *name = SSL_group_to_name(s, nid);
 
             if (name == NULL)
-                BIO_printf(out, "Negotiated TLS1.3 group: %d\n", nid);
+                BIO_printf(out, "Negotiated TLS1.3 group NID: %d\n", nid);
             else
                 BIO_printf(out, "Negotiated TLS1.3 group: %s\n", name);
         }
index 22b6513e176cf302e3cb778a17dbd3a7beaef0bf..76af9a460b47603cede16e70eb8461f84b78da14 100644 (file)
@@ -64,7 +64,7 @@ BIO *BIO_new_file(const char *filename, const char *mode)
         fp_flags |= BIO_FP_TEXT;
 
     if (filename == NULL) {
-        ERR_raise_data(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER, __func__);
+        ERR_raise(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER);
         return NULL;
     }
 
@@ -317,7 +317,7 @@ static long file_ctrl(BIO *b, int cmd, long num, void *ptr)
             OPENSSL_strlcat(p, "b", sizeof(p));
 #endif
         if (ptr == NULL) {
-            ERR_raise_data(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER, __func__);
+            ERR_raise(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER);
             ret = 0;
             break;
         }