git: 59fa6d8148e5 - stable/13 - taclib: 0 (not set) is a valid auth type in authorization requests.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Wed, 13 Dec 2023 20:06:14 UTC
The branch stable/13 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=59fa6d8148e5998fb95a4a4314492435959e3ddf

commit 59fa6d8148e5998fb95a4a4314492435959e3ddf
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-05-22 10:00:42 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-12-13 16:08:13 +0000

    taclib: 0 (not set) is a valid auth type in authorization requests.
    
    MFC after:      1 week
    Sponsored by:   Klara, Inc.
    Reviewed by:    rew
    Differential Revision:  https://reviews.freebsd.org/D40132
    
    (cherry picked from commit 951beab15d397942b5306aae292cd16564abe9f9)
---
 lib/libtacplus/taclib.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libtacplus/taclib.h b/lib/libtacplus/taclib.h
index ae5235e6a713..e0eb88fd7e10 100644
--- a/lib/libtacplus/taclib.h
+++ b/lib/libtacplus/taclib.h
@@ -58,6 +58,7 @@ struct tac_handle;
 #define TAC_AUTHEN_SENDAUTH	0x04
 
 /* Authentication types */
+#define TAC_AUTHEN_TYPE_NOT_SET	0x00
 #define TAC_AUTHEN_TYPE_ASCII	0x01
 #define TAC_AUTHEN_TYPE_PAP	0x02
 #define TAC_AUTHEN_TYPE_CHAP	0x03