krb5 commit: Define error status GSS_S_BAD_MIC

Greg Hudson ghudson at mit.edu
Wed Sep 30 12:01:49 EDT 2015


https://github.com/krb5/krb5/commit/be87852a12737eed448032875fb74f23e9cbf26b
commit be87852a12737eed448032875fb74f23e9cbf26b
Author: Tomas Kuthan <tkuthan at gmail.com>
Date:   Wed Sep 30 15:11:03 2015 +0200

    Define error status GSS_S_BAD_MIC
    
    RFC 2743 adds GSS_S_BAD_MIC as an alias for GSS_S_BAD_SIG.
    
    [ghudson at mit.edu: edit commit messsage]
    
    ticket: 8255 (new)
    target_version: 1.14
    tags: pullup

 src/lib/gssapi/generic/gssapi.hin |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/lib/gssapi/generic/gssapi.hin b/src/lib/gssapi/generic/gssapi.hin
index f67e75c..59cd93e 100644
--- a/src/lib/gssapi/generic/gssapi.hin
+++ b/src/lib/gssapi/generic/gssapi.hin
@@ -274,6 +274,7 @@ typedef int             gss_cred_usage_t;
 #define GSS_S_BAD_BINDINGS (((OM_uint32) 4ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_BAD_STATUS (((OM_uint32) 5ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_BAD_SIG (((OM_uint32) 6ul) << GSS_C_ROUTINE_ERROR_OFFSET)
+#define GSS_S_BAD_MIC GSS_S_BAD_SIG
 #define GSS_S_NO_CRED (((OM_uint32) 7ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_NO_CONTEXT (((OM_uint32) 8ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_DEFECTIVE_TOKEN (((OM_uint32) 9ul) << GSS_C_ROUTINE_ERROR_OFFSET)


More information about the cvs-krb5 mailing list