diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2022-08-23 20:37:03 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-23 18:21:47 +0100 |
commit | 2c54276e89ea3d44959f0844430c49de30711a6e (patch) | |
tree | e9fcceff25bc7c3cca3da0b82bc31efb4edc6188 | |
parent | 5af0050147ee0fce640722108639f3f7a72353b6 (diff) |
crypto/*: Fix various typos, repeated words, align some spelling to LDP.
partially revamped from #16712
- fall thru -> fall through
- time stamp -> timestamp
- host name -> hostname
- ipv6 -> IPv6
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19059)
(cherry picked from commit c7340583097a80a4fe42bacea745b2bbaa6d16db)
-rw-r--r-- | crypto/bio/bio_sock2.c | 2 | ||||
-rw-r--r-- | crypto/bn/bn_const.c | 2 | ||||
-rw-r--r-- | crypto/dsa/dsa_local.h | 2 | ||||
-rw-r--r-- | crypto/ffc/ffc_params_generate.c | 4 | ||||
-rw-r--r-- | crypto/http/http_client.c | 8 | ||||
-rw-r--r-- | crypto/http/http_lib.c | 4 | ||||
-rw-r--r-- | crypto/idea/idea_local.h | 28 | ||||
-rw-r--r-- | crypto/pkcs7/pk7_asn1.c | 2 | ||||
-rw-r--r-- | crypto/rc2/rc2_local.h | 56 | ||||
-rw-r--r-- | crypto/rc5/rc5_local.h | 56 | ||||
-rw-r--r-- | crypto/siphash/siphash.c | 12 | ||||
-rw-r--r-- | crypto/store/store_lib.c | 2 | ||||
-rw-r--r-- | crypto/ts/ts_local.h | 2 | ||||
-rw-r--r-- | crypto/ts/ts_rsp_verify.c | 2 | ||||
-rw-r--r-- | crypto/x509/by_store.c | 2 | ||||
-rw-r--r-- | crypto/x509/v3_ncons.c | 2 | ||||
-rw-r--r-- | crypto/x509/v3_purp.c | 2 | ||||
-rw-r--r-- | crypto/x509/x_crl.c | 2 | ||||
-rw-r--r-- | crypto/x509/x_req.c | 2 | ||||
-rw-r--r-- | crypto/x509/x_x509.c | 2 |
20 files changed, 97 insertions, 97 deletions
diff --git a/crypto/bio/bio_sock2.c b/crypto/bio/bio_sock2.c index 8bdad0c0b6..b746e40ba0 100644 --- a/crypto/bio/bio_sock2.c +++ b/crypto/bio/bio_sock2.c @@ -262,7 +262,7 @@ int BIO_listen(int sock, const BIO_ADDR *addr, int options) } } - /* On OpenBSD it is always ipv6 only with ipv6 sockets thus read-only */ + /* On OpenBSD it is always IPv6 only with IPv6 sockets thus read-only */ # if defined(IPV6_V6ONLY) && !defined(__OpenBSD__) if (BIO_ADDR_family(addr) == AF_INET6) { /* diff --git a/crypto/bn/bn_const.c b/crypto/bn/bn_const.c index a36e0ac792..190a363912 100644 --- a/crypto/bn/bn_const.c +++ b/crypto/bn/bn_const.c @@ -19,7 +19,7 @@ * The prime is: 2^768 - 2 ^704 - 1 + 2^64 * { [2^638 pi] + 149686 } * * RFC2409 specifies a generator of 2. - * RFC2412 specifies a generator of of 22. + * RFC2412 specifies a generator of 22. */ BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn) diff --git a/crypto/dsa/dsa_local.h b/crypto/dsa/dsa_local.h index 9e33fae131..cb7f903a04 100644 --- a/crypto/dsa/dsa_local.h +++ b/crypto/dsa/dsa_local.h @@ -14,7 +14,7 @@ struct dsa_st { /* * This first variable is used to pick up errors where a DSA is passed - * instead of of a EVP_PKEY + * instead of an EVP_PKEY */ int pad; int32_t version; diff --git a/crypto/ffc/ffc_params_generate.c b/crypto/ffc/ffc_params_generate.c index 3431ac7ddd..e80a168130 100644 --- a/crypto/ffc/ffc_params_generate.c +++ b/crypto/ffc/ffc_params_generate.c @@ -621,7 +621,7 @@ int ossl_ffc_params_FIPS186_4_gen_verify(OSSL_LIB_CTX *libctx, p = params->p; q = params->q; goto g_only; - /* otherwise fall thru to validate p & q */ + /* otherwise fall through to validate p & q */ } /* p & q will be used for generation and validation */ @@ -922,7 +922,7 @@ int ossl_ffc_params_FIPS186_2_gen_verify(OSSL_LIB_CTX *libctx, p = params->p; q = params->q; goto g_only; - /* otherwise fall thru to validate p and q */ + /* otherwise fall through to validate p and q */ } use_random_seed = (seed_in == NULL); diff --git a/crypto/http/http_client.c b/crypto/http/http_client.c index 77302a23b2..2048eff6c3 100644 --- a/crypto/http/http_client.c +++ b/crypto/http/http_client.c @@ -51,7 +51,7 @@ struct ossl_http_req_ctx_st { void *upd_arg; /* Optional arg for update callback function */ int use_ssl; /* Use HTTPS */ char *proxy; /* Optional proxy name or URI */ - char *server; /* Optional server host name */ + char *server; /* Optional server hostname */ char *port; /* Optional server port */ BIO *mem; /* Mem BIO holding request header or response */ BIO *req; /* BIO holding the request provided by caller */ @@ -564,12 +564,12 @@ int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx) } rctx->state = OHS_WRITE_INIT; - /* fall thru */ + /* fall through */ case OHS_WRITE_INIT: rctx->len_to_send = BIO_get_mem_data(rctx->mem, &rctx->pos); rctx->state = OHS_WRITE_HDR; - /* fall thru */ + /* fall through */ case OHS_WRITE_HDR: /* Copy some chunk of data from rctx->mem to rctx->wbio */ case OHS_WRITE_REQ: @@ -605,7 +605,7 @@ int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx) } rctx->state = OHS_FLUSH; - /* fall thru */ + /* fall through */ case OHS_FLUSH: i = BIO_flush(rctx->wbio); diff --git a/crypto/http/http_lib.c b/crypto/http/http_lib.c index bd9c096b98..42ea6bc813 100644 --- a/crypto/http/http_lib.c +++ b/crypto/http/http_lib.c @@ -83,9 +83,9 @@ int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost, else host = p; - /* parse host name/address as far as needed here */ + /* parse hostname/address as far as needed here */ if (host[0] == '[') { - /* ipv6 literal, which may include ':' */ + /* IPv6 literal, which may include ':' */ host_end = strchr(host + 1, ']'); if (host_end == NULL) goto parse_err; diff --git a/crypto/idea/idea_local.h b/crypto/idea/idea_local.h index 3c9ffa0827..e6ada85d87 100644 --- a/crypto/idea/idea_local.h +++ b/crypto/idea/idea_local.h @@ -23,19 +23,19 @@ else \ l1=l2=0; \ switch (n) { \ case 8: l2 =((unsigned long)(*(--(c)))) ; \ - /* fall thru */ \ + /* fall through */ \ case 7: l2|=((unsigned long)(*(--(c))))<< 8; \ - /* fall thru */ \ + /* fall through */ \ case 6: l2|=((unsigned long)(*(--(c))))<<16; \ - /* fall thru */ \ + /* fall through */ \ case 5: l2|=((unsigned long)(*(--(c))))<<24; \ - /* fall thru */ \ + /* fall through */ \ case 4: l1 =((unsigned long)(*(--(c)))) ; \ - /* fall thru */ \ + /* fall through */ \ case 3: l1|=((unsigned long)(*(--(c))))<< 8; \ - /* fall thru */ \ + /* fall through */ \ case 2: l1|=((unsigned long)(*(--(c))))<<16; \ - /* fall thru */ \ + /* fall through */ \ case 1: l1|=((unsigned long)(*(--(c))))<<24; \ } \ } @@ -45,19 +45,19 @@ else \ c+=n; \ switch (n) { \ case 8: *(--(c))=(unsigned char)(((l2) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 4: *(--(c))=(unsigned char)(((l1) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 1: *(--(c))=(unsigned char)(((l1)>>24)&0xff); \ } \ } diff --git a/crypto/pkcs7/pk7_asn1.c b/crypto/pkcs7/pk7_asn1.c index 1cd867721e..3153dfb1a6 100644 --- a/crypto/pkcs7/pk7_asn1.c +++ b/crypto/pkcs7/pk7_asn1.c @@ -41,7 +41,7 @@ static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, case ASN1_OP_STREAM_PRE: if (PKCS7_stream(&sarg->boundary, *pp7) <= 0) return 0; - /* fall thru */ + /* fall through */ case ASN1_OP_DETACHED_PRE: sarg->ndef_bio = PKCS7_dataInit(*pp7, sarg->out); if (!sarg->ndef_bio) diff --git a/crypto/rc2/rc2_local.h b/crypto/rc2/rc2_local.h index 8faa7b840a..0447916026 100644 --- a/crypto/rc2/rc2_local.h +++ b/crypto/rc2/rc2_local.h @@ -20,19 +20,19 @@ l1=l2=0; \ switch (n) { \ case 8: l2 =((unsigned long)(*(--(c))))<<24L; \ - /* fall thru */ \ + /* fall through */ \ case 7: l2|=((unsigned long)(*(--(c))))<<16L; \ - /* fall thru */ \ + /* fall through */ \ case 6: l2|=((unsigned long)(*(--(c))))<< 8L; \ - /* fall thru */ \ + /* fall through */ \ case 5: l2|=((unsigned long)(*(--(c)))); \ - /* fall thru */ \ + /* fall through */ \ case 4: l1 =((unsigned long)(*(--(c))))<<24L; \ - /* fall thru */ \ + /* fall through */ \ case 3: l1|=((unsigned long)(*(--(c))))<<16L; \ - /* fall thru */ \ + /* fall through */ \ case 2: l1|=((unsigned long)(*(--(c))))<< 8L; \ - /* fall thru */ \ + /* fall through */ \ case 1: l1|=((unsigned long)(*(--(c)))); \ } \ } @@ -49,19 +49,19 @@ c+=n; \ switch (n) { \ case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 6: *(--(c))=(unsigned char)(((l2)>> 8L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 5: *(--(c))=(unsigned char)(((l2) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 1: *(--(c))=(unsigned char)(((l1) )&0xff); \ } \ } @@ -72,19 +72,19 @@ l1=l2=0; \ switch (n) { \ case 8: l2 =((unsigned long)(*(--(c)))) ; \ - /* fall thru */ \ + /* fall through */ \ case 7: l2|=((unsigned long)(*(--(c))))<< 8; \ - /* fall thru */ \ + /* fall through */ \ case 6: l2|=((unsigned long)(*(--(c))))<<16; \ - /* fall thru */ \ + /* fall through */ \ case 5: l2|=((unsigned long)(*(--(c))))<<24; \ - /* fall thru */ \ + /* fall through */ \ case 4: l1 =((unsigned long)(*(--(c)))) ; \ - /* fall thru */ \ + /* fall through */ \ case 3: l1|=((unsigned long)(*(--(c))))<< 8; \ - /* fall thru */ \ + /* fall through */ \ case 2: l1|=((unsigned long)(*(--(c))))<<16; \ - /* fall thru */ \ + /* fall through */ \ case 1: l1|=((unsigned long)(*(--(c))))<<24; \ } \ } @@ -94,19 +94,19 @@ c+=n; \ switch (n) { \ case 8: *(--(c))=(unsigned char)(((l2) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 4: *(--(c))=(unsigned char)(((l1) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 1: *(--(c))=(unsigned char)(((l1)>>24)&0xff); \ } \ } diff --git a/crypto/rc5/rc5_local.h b/crypto/rc5/rc5_local.h index df7df608dc..c027e4d1ed 100644 --- a/crypto/rc5/rc5_local.h +++ b/crypto/rc5/rc5_local.h @@ -22,19 +22,19 @@ l1=l2=0; \ switch (n) { \ case 8: l2 =((unsigned long)(*(--(c))))<<24L; \ - /* fall thru */ \ + /* fall through */ \ case 7: l2|=((unsigned long)(*(--(c))))<<16L; \ - /* fall thru */ \ + /* fall through */ \ case 6: l2|=((unsigned long)(*(--(c))))<< 8L; \ - /* fall thru */ \ + /* fall through */ \ case 5: l2|=((unsigned long)(*(--(c)))); \ - /* fall thru */ \ + /* fall through */ \ case 4: l1 =((unsigned long)(*(--(c))))<<24L; \ - /* fall thru */ \ + /* fall through */ \ case 3: l1|=((unsigned long)(*(--(c))))<<16L; \ - /* fall thru */ \ + /* fall through */ \ case 2: l1|=((unsigned long)(*(--(c))))<< 8L; \ - /* fall thru */ \ + /* fall through */ \ case 1: l1|=((unsigned long)(*(--(c)))); \ } \ } @@ -51,19 +51,19 @@ c+=n; \ switch (n) { \ case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 6: *(--(c))=(unsigned char)(((l2)>> 8L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 5: *(--(c))=(unsigned char)(((l2) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 1: *(--(c))=(unsigned char)(((l1) )&0xff); \ } \ } @@ -74,19 +74,19 @@ l1=l2=0; \ switch (n) { \ case 8: l2 =((unsigned long)(*(--(c)))) ; \ - /* fall thru */ \ + /* fall through */ \ case 7: l2|=((unsigned long)(*(--(c))))<< 8; \ - /* fall thru */ \ + /* fall through */ \ case 6: l2|=((unsigned long)(*(--(c))))<<16; \ - /* fall thru */ \ + /* fall through */ \ case 5: l2|=((unsigned long)(*(--(c))))<<24; \ - /* fall thru */ \ + /* fall through */ \ case 4: l1 =((unsigned long)(*(--(c)))) ; \ - /* fall thru */ \ + /* fall through */ \ case 3: l1|=((unsigned long)(*(--(c))))<< 8; \ - /* fall thru */ \ + /* fall through */ \ case 2: l1|=((unsigned long)(*(--(c))))<<16; \ - /* fall thru */ \ + /* fall through */ \ case 1: l1|=((unsigned long)(*(--(c))))<<24; \ } \ } @@ -96,19 +96,19 @@ c+=n; \ switch (n) { \ case 8: *(--(c))=(unsigned char)(((l2) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 4: *(--(c))=(unsigned char)(((l1) )&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \ - /* fall thru */ \ + /* fall through */ \ case 1: *(--(c))=(unsigned char)(((l1)>>24)&0xff); \ } \ } diff --git a/crypto/siphash/siphash.c b/crypto/siphash/siphash.c index 57f61c1db1..e2be3ca597 100644 --- a/crypto/siphash/siphash.c +++ b/crypto/siphash/siphash.c @@ -210,22 +210,22 @@ int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen) switch (ctx->len) { case 7: b |= ((uint64_t)ctx->leavings[6]) << 48; - /* fall thru */ + /* fall through */ case 6: b |= ((uint64_t)ctx->leavings[5]) << 40; - /* fall thru */ + /* fall through */ case 5: b |= ((uint64_t)ctx->leavings[4]) << 32; - /* fall thru */ + /* fall through */ case 4: b |= ((uint64_t)ctx->leavings[3]) << 24; - /* fall thru */ + /* fall through */ case 3: b |= ((uint64_t)ctx->leavings[2]) << 16; - /* fall thru */ + /* fall through */ case 2: b |= ((uint64_t)ctx->leavings[1]) << 8; - /* fall thru */ + /* fall through */ case 1: b |= ((uint64_t)ctx->leavings[0]); case 0: diff --git a/crypto/store/store_lib.c b/crypto/store/store_lib.c index c767e303f8..f6e4821233 100644 --- a/crypto/store/store_lib.c +++ b/crypto/store/store_lib.c @@ -627,7 +627,7 @@ OSSL_STORE_INFO *OSSL_STORE_INFO_new_CRL(X509_CRL *crl) } /* - * Functions to try to extract data from a OSSL_STORE_INFO. + * Functions to try to extract data from an OSSL_STORE_INFO. */ int OSSL_STORE_INFO_get_type(const OSSL_STORE_INFO *info) { diff --git a/crypto/ts/ts_local.h b/crypto/ts/ts_local.h index 4dcb7af960..b0dbd5fdd9 100644 --- a/crypto/ts/ts_local.h +++ b/crypto/ts/ts_local.h @@ -110,7 +110,7 @@ struct TS_resp_ctx { ASN1_INTEGER *seconds; /* accuracy, 0 means not specified. */ ASN1_INTEGER *millis; /* accuracy, 0 means not specified. */ ASN1_INTEGER *micros; /* accuracy, 0 means not specified. */ - unsigned clock_precision_digits; /* fraction of seconds in time stamp + unsigned clock_precision_digits; /* fraction of seconds in timestamp * token. */ unsigned flags; /* Optional info, see values above. */ /* Callback functions. */ diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c index 792a27ce57..3406dc1def 100644 --- a/crypto/ts/ts_rsp_verify.c +++ b/crypto/ts/ts_rsp_verify.c @@ -278,7 +278,7 @@ int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token) } /*- - * Verifies whether the 'token' contains a valid time stamp token + * Verifies whether the 'token' contains a valid timestamp token * with regards to the settings of the context. Only those checks are * carried out that are specified in the context: * - Verifies the signature of the TS_TST_INFO. diff --git a/crypto/x509/by_store.c b/crypto/x509/by_store.c index 050735ce32..5ff1ea0a4e 100644 --- a/crypto/x509/by_store.c +++ b/crypto/x509/by_store.c @@ -27,7 +27,7 @@ static int cache_objects(X509_LOOKUP *lctx, const char *uri, /* * We try to set the criterion, but don't care if it was valid or not. - * For a OSSL_STORE, it merely serves as an optimization, the expectation + * For an OSSL_STORE, it merely serves as an optimization, the expectation * being that if the criterion couldn't be used, we will get *everything* * from the container that the URI represents rather than the subset that * the criterion indicates, so the biggest harm is that we cache more diff --git a/crypto/x509/v3_ncons.c b/crypto/x509/v3_ncons.c index 0fee29fd3b..65dbb71fae 100644 --- a/crypto/x509/v3_ncons.c +++ b/crypto/x509/v3_ncons.c @@ -431,7 +431,7 @@ int NAME_CONSTRAINTS_check_CN(X509 *x, NAME_CONSTRAINTS *nc) ne = X509_NAME_get_entry(nm, i); cn = X509_NAME_ENTRY_get_data(ne); - /* Only process attributes that look like host names */ + /* Only process attributes that look like hostnames */ if ((r = cn2dnsid(cn, &idval, &idlen)) != X509_V_OK) return r; if (idlen == 0) diff --git a/crypto/x509/v3_purp.c b/crypto/x509/v3_purp.c index a6ebbd5f94..f159d953d8 100644 --- a/crypto/x509/v3_purp.c +++ b/crypto/x509/v3_purp.c @@ -868,7 +868,7 @@ static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x, !(x->ex_kusage & (KU_NON_REPUDIATION | KU_DIGITAL_SIGNATURE)))) return 0; - /* Only time stamp key usage is permitted and it's required. */ + /* Only timestamp key usage is permitted and it's required. */ if (!(x->ex_flags & EXFLAG_XKUSAGE) || x->ex_xkusage != XKU_TIMESTAMP) return 0; diff --git a/crypto/x509/x_crl.c b/crypto/x509/x_crl.c index fd98ad6926..afb2b49d68 100644 --- a/crypto/x509/x_crl.c +++ b/crypto/x509/x_crl.c @@ -172,7 +172,7 @@ static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, ASN1_INTEGER_free(crl->crl_number); ASN1_INTEGER_free(crl->base_crl_number); sk_GENERAL_NAMES_pop_free(crl->issuers, GENERAL_NAMES_free); - /* fall thru */ + /* fall through */ case ASN1_OP_NEW_POST: crl->idp = NULL; diff --git a/crypto/x509/x_req.c b/crypto/x509/x_req.c index 293d4be713..e66e425c8e 100644 --- a/crypto/x509/x_req.c +++ b/crypto/x509/x_req.c @@ -53,7 +53,7 @@ static int req_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, switch (operation) { case ASN1_OP_D2I_PRE: ASN1_OCTET_STRING_free(ret->distinguishing_id); - /* fall thru */ + /* fall through */ case ASN1_OP_NEW_POST: ret->distinguishing_id = NULL; break; diff --git a/crypto/x509/x_x509.c b/crypto/x509/x_x509.c index 010578b19a..3101af0f1a 100644 --- a/crypto/x509/x_x509.c +++ b/crypto/x509/x_x509.c @@ -55,7 +55,7 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, #endif ASN1_OCTET_STRING_free(ret->distinguishing_id); - /* fall thru */ + /* fall through */ case ASN1_OP_NEW_POST: ret->ex_cached = 0; |