Generic: Fix warnings (fallthrough mosty)
This commit is contained in:
@@ -941,7 +941,7 @@ process_stream(krb5_context contextp,
|
||||
INSIST(gctx.ctx == NULL);
|
||||
|
||||
gctx.inprogress = 1;
|
||||
/* FALL THOUGH */
|
||||
/* FALLTHROUGH */
|
||||
case RPG_CONTINUE_INIT: {
|
||||
gss_name_t src_name = GSS_C_NO_NAME;
|
||||
krb5_data in;
|
||||
|
@@ -912,7 +912,7 @@ OM_uint32 GSSAPI_CALLCONV _gsskrb5_init_sec_context
|
||||
time_rec);
|
||||
if (ret != GSS_S_COMPLETE)
|
||||
break;
|
||||
/* FALL THOUGH */
|
||||
/* FALLTHROUGH */
|
||||
case INITIATOR_RESTART:
|
||||
ret = init_auth_restart(minor_status,
|
||||
cred,
|
||||
|
@@ -182,7 +182,7 @@ fill_CMSIdentifier(const hx509_cert cert,
|
||||
&id->u.subjectKeyIdentifier);
|
||||
if (ret == 0)
|
||||
break;
|
||||
/* FALL THOUGH */
|
||||
/* FALLTHROUGH */
|
||||
case CMS_ID_NAME: {
|
||||
hx509_name name;
|
||||
|
||||
|
@@ -37,6 +37,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define HC_DEPRECATED_CRYPTO
|
||||
#include "kafs_locl.h"
|
||||
|
||||
static int rxkad_derive_des_key(const void *, size_t, char[8]);
|
||||
|
@@ -33,6 +33,9 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef KRB5_DEPRECATED_FUNCTION
|
||||
#define KRB5_DEPRECATED_FUNCTION(x)
|
||||
|
||||
#include "krb5_locl.h"
|
||||
#include <assert.h>
|
||||
#include <com_err.h>
|
||||
|
@@ -1176,7 +1176,7 @@ krb5_sendto_context(krb5_context context,
|
||||
break;
|
||||
}
|
||||
action = KRB5_SENDTO_KRBHST;
|
||||
/* FALLTHOUGH */
|
||||
/* FALLTHROUGH */
|
||||
case KRB5_SENDTO_KRBHST:
|
||||
if (ctx->krbhst == NULL) {
|
||||
ret = krb5_krbhst_init_flags(context, realm, type,
|
||||
@@ -1194,7 +1194,7 @@ krb5_sendto_context(krb5_context context,
|
||||
handle = heim_retain(ctx->krbhst);
|
||||
}
|
||||
action = KRB5_SENDTO_TIMEOUT;
|
||||
/* FALLTHOUGH */
|
||||
/* FALLTHROUGH */
|
||||
case KRB5_SENDTO_TIMEOUT:
|
||||
|
||||
/*
|
||||
|
@@ -471,7 +471,7 @@ heim_digest_generate_challenge(heim_digest_t context)
|
||||
break;
|
||||
case HEIM_DIGEST_TYPE_AUTO:
|
||||
context->type = HEIM_DIGEST_TYPE_RFC2831;
|
||||
/* FALL THOUGH */
|
||||
/* FALLTHROUGH */
|
||||
case HEIM_DIGEST_TYPE_RFC2831:
|
||||
asprintf(&challenge, "realm=\"%s\",nonce=\"%s\",qop=\"%s\",algorithm=md5-sess,charset=utf-8,maxbuf=%s",
|
||||
context->serverRealm, context->serverNonce, context->serverQOP, context->serverMaxbuf);
|
||||
|
Reference in New Issue
Block a user