move to 1.6-beta
This commit is contained in:
parent
45c7370e13
commit
509ad7f110
81 changed files with 886 additions and 439 deletions
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: printf.3,v 1.93 2022/08/04 06:20:24 jsg Exp $
|
||||
.\" $OpenBSD: printf.3,v 1.94 2024/08/07 05:15:28 guenther Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1990, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -33,7 +33,7 @@
|
|||
.\"
|
||||
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
|
||||
.\"
|
||||
.Dd $Mdocdate: August 4 2022 $
|
||||
.Dd $Mdocdate: August 7 2024 $
|
||||
.Dt PRINTF 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -53,29 +53,29 @@
|
|||
.Sh SYNOPSIS
|
||||
.In stdio.h
|
||||
.Ft int
|
||||
.Fn printf "const char *format" ...
|
||||
.Fn printf "const char * restrict format" ...
|
||||
.Ft int
|
||||
.Fn fprintf "FILE *stream" "const char *format" ...
|
||||
.Fn fprintf "FILE *stream" "const char * restrict format" ...
|
||||
.Ft int
|
||||
.Fn sprintf "char *str" "const char *format" ...
|
||||
.Fn sprintf "char * restrict str" "const char * restrict format" ...
|
||||
.Ft int
|
||||
.Fn snprintf "char *str" "size_t size" "const char *format" ...
|
||||
.Fn snprintf "char * restrict str" "size_t size" "const char * restrict format" ...
|
||||
.Ft int
|
||||
.Fn asprintf "char **ret" "const char *format" ...
|
||||
.Fn asprintf "char ** restrict ret" "const char * restrict format" ...
|
||||
.Ft int
|
||||
.Fn dprintf "int fd" "const char * restrict format" ...
|
||||
.In stdarg.h
|
||||
.In stdio.h
|
||||
.Ft int
|
||||
.Fn vprintf "const char *format" "va_list ap"
|
||||
.Fn vprintf "const char * restrict format" "va_list ap"
|
||||
.Ft int
|
||||
.Fn vfprintf "FILE *stream" "const char *format" "va_list ap"
|
||||
.Fn vfprintf "FILE *stream" "const char * restrict format" "va_list ap"
|
||||
.Ft int
|
||||
.Fn vsprintf "char *str" "const char *format" "va_list ap"
|
||||
.Fn vsprintf "char * restrict str" "const char * restrict format" "va_list ap"
|
||||
.Ft int
|
||||
.Fn vsnprintf "char *str" "size_t size" "const char *format" "va_list ap"
|
||||
.Fn vsnprintf "char * restrict str" "size_t size" "const char * restrict format" "va_list ap"
|
||||
.Ft int
|
||||
.Fn vasprintf "char **ret" "const char *format" "va_list ap"
|
||||
.Fn vasprintf "char ** restrict ret" "const char * restrict format" "va_list ap"
|
||||
.Ft int
|
||||
.Fn vdprintf "int fd" "const char * restrict format" "va_list ap"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -906,11 +906,13 @@ and
|
|||
functions conform to
|
||||
.St -isoC-99 .
|
||||
The
|
||||
.Fn dprintf
|
||||
.Fn dprintf ,
|
||||
.Fn vdprintf ,
|
||||
.Fn asprintf ,
|
||||
and
|
||||
.Fn vdprintf
|
||||
.Fn vasprintf
|
||||
functions conform to
|
||||
.St -p1003.1-2008 .
|
||||
.St -p1003.1-2024 .
|
||||
.Sh HISTORY
|
||||
The predecessors
|
||||
.Fn ftoa
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: wcslcpy.3,v 1.7 2019/01/25 00:19:25 millert Exp $
|
||||
.\" $OpenBSD: wcslcpy.3,v 1.8 2024/08/07 04:59:45 guenther Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1998, 2000 Todd C. Miller <millert@openbsd.org>
|
||||
.\"
|
||||
|
@ -14,7 +14,7 @@
|
|||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.Dd $Mdocdate: January 25 2019 $
|
||||
.Dd $Mdocdate: August 7 2024 $
|
||||
.Dt WCSLCPY 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -24,9 +24,9 @@
|
|||
.Sh SYNOPSIS
|
||||
.In wchar.h
|
||||
.Ft size_t
|
||||
.Fn wcslcpy "wchar_t *dst" "const wchar_t *src" "size_t size"
|
||||
.Fn wcslcpy "wchar_t * restrict dst" "const wchar_t * restrict src" "size_t size"
|
||||
.Ft size_t
|
||||
.Fn wcslcat "wchar_t *dst" "const wchar_t *src" "size_t size"
|
||||
.Fn wcslcat "wchar_t * restrict dst" "const wchar_t * restrict src" "size_t size"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn wcslcpy
|
||||
|
@ -137,6 +137,13 @@ The check exists to prevent potential security problems in incorrect code.
|
|||
.Xr swprintf 3 ,
|
||||
.Xr wcsncat 3 ,
|
||||
.Xr wcsncpy 3
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Fn wcslcpy
|
||||
and
|
||||
.Fn wcslcat
|
||||
functions conform to
|
||||
.St -p1003.1-2024 .
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn wcslcpy
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: ui_util.c,v 1.14 2023/02/16 08:38:17 tb Exp $ */
|
||||
/* $OpenBSD: ui_util.c,v 1.15 2024/08/08 09:56:51 tb Exp $ */
|
||||
/* ====================================================================
|
||||
* Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
|
@ -53,11 +53,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <openssl/ui_compat.h>
|
||||
|
||||
#include "ui_local.h"
|
||||
#include <openssl/ui.h>
|
||||
|
||||
int
|
||||
UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: radius.c,v 1.4 2023/07/08 08:53:26 yasuoka Exp $ */
|
||||
/* $OpenBSD: radius.c,v 1.5 2024/08/08 09:16:37 yasuoka Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2009 Internet Initiative Japan Inc.
|
||||
|
@ -261,7 +261,8 @@ radius_check_response_authenticator(const RADIUS_PACKET * packet,
|
|||
uint8_t authenticator[16];
|
||||
|
||||
radius_calc_response_authenticator(authenticator, packet, secret);
|
||||
return (memcmp(authenticator, packet->pdata->authenticator, 16));
|
||||
return (timingsafe_memcmp(authenticator, packet->pdata->authenticator,
|
||||
16));
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -299,7 +300,8 @@ radius_check_accounting_request_authenticator(const RADIUS_PACKET * packet,
|
|||
|
||||
radius_calc_accounting_request_authenticator(authenticator, packet,
|
||||
secret);
|
||||
return (memcmp(authenticator, packet->pdata->authenticator, 16));
|
||||
return (timingsafe_memcmp(authenticator, packet->pdata->authenticator,
|
||||
16));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: radius_msgauth.c,v 1.3 2024/07/24 08:19:16 yasuoka Exp $ */
|
||||
/* $OpenBSD: radius_msgauth.c,v 1.4 2024/08/08 09:16:37 yasuoka Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2009 Internet Initiative Japan Inc.
|
||||
|
@ -149,5 +149,5 @@ radius_check_message_authenticator(RADIUS_PACKET * packet, const char *secret)
|
|||
if (len != sizeof(ma1))
|
||||
return (-1);
|
||||
|
||||
return (memcmp(ma0, ma1, sizeof(ma1)));
|
||||
return (timingsafe_memcmp(ma0, ma1, sizeof(ma1)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue